Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002178, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006874/0.0006874, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.00183, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9231/0.9231, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1546/1.078, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 4 kB / 239.8 MB, free: 6.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.054e-05, allocations: 2.312 kB / 239.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003466/0.003487, allocations: 2.965 MB / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004657, allocations: 0.7444 MB / 243.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.004779, allocations: 4 kB / 243.5 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.004885, allocations: 56.91 kB / 243.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.00506, allocations: 107.1 kB / 243.7 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.005261, allocations: 120.5 kB / 243.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.005634, allocations: 423.3 kB / 244.2 MB, free: 1.91 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.005791, allocations: 94.27 kB / 244.3 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.006208, allocations: 271.2 kB / 244.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.006379, allocations: 139.6 kB / 244.7 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.00643, allocations: 40 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.054e-05/0.006481, allocations: 40 kB / 244.8 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.006536, allocations: 59.81 kB / 244.8 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.006633, allocations: 103.8 kB / 244.9 MB, free: 1.176 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.006902, allocations: 239.2 kB / 245.2 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.006911, allocations: 0 / 245.2 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006912, allocations: 0 / 245.2 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.006922, allocations: 1.281 kB / 245.2 MB, free: 0.9414 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007679/0.00769, allocations: 0.6153 MB / 245.8 MB, free: 304 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.007715, allocations: 8.031 kB / 245.8 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.007781, allocations: 40.91 kB / 245.8 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.008027, allocations: 205.1 kB / 246 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.008048, allocations: 20.88 kB / 246 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.008097, allocations: 25.42 kB / 246.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.008494, allocations: 292.2 kB / 246.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008505, allocations: 192 / 246.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.008526, allocations: 8.375 kB / 246.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.008539, allocations: 17.72 kB / 246.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.00868, allocations: 67.41 kB / 246.4 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.009836, allocations: 0.7905 MB / 247.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.01006, allocations: 107.9 kB / 247.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.01011, allocations: 25.47 kB / 247.4 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01013, allocations: 4 kB / 247.4 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.01031, allocations: 161.8 kB / 247.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.01031, allocations: 0.5312 kB / 247.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000714/0.01103, allocations: 274.9 kB / 247.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.01106, allocations: 51.41 kB / 247.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.01126, allocations: 244.9 kB / 248.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01128, allocations: 25.7 kB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.01137, allocations: 196.1 kB / 248.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.01141, allocations: 51.56 kB / 248.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.01149, allocations: 61.81 kB / 248.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.01158, allocations: 338.8 kB / 248.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.01164, allocations: 45.94 kB / 248.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.01178, allocations: 202.9 kB / 249 MB, free: 12.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01195, allocations: 198.6 kB / 249.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01195, allocations: 0 / 249.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003391/0.01229, allocations: 265.8 kB / 249.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.01232, allocations: 37.7 kB / 249.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01233, allocations: 7.938 kB / 249.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.01258, allocations: 72.86 kB / 249.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01271, allocations: 47.92 kB / 249.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.01379, allocations: 1.492 MB / 251.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.01395, allocations: 39.83 kB / 251.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01396, allocations: 16.03 kB / 251.1 MB, free: 10.49 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/0.01405, allocations: 125.7 kB / 251.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01408, allocations: 23.97 kB / 251.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.01411, allocations: 25.75 kB / 251.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01411, allocations: 3.984 kB / 251.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01411, allocations: 4 kB / 251.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01411, allocations: 0 / 251.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.01425, allocations: 149.8 kB / 251.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01425, allocations: 4 kB / 251.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.0143, allocations: 16 kB / 251.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.01433, allocations: 27.77 kB / 251.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.01452, allocations: 68.81 kB / 251.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.01452, allocations: 0 / 251.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/0.01542, allocations: 1.446 MB / 253 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01542, allocations: 0 / 253 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.01565, allocations: 165.8 kB / 253.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01568, allocations: 8 kB / 253.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.01578, allocations: 23.91 kB / 253.2 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.01583, allocations: 19.97 kB / 253.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01584, allocations: 4 kB / 253.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.01592, allocations: 90.75 kB / 253.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01592, allocations: 4 kB / 253.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.01624, allocations: 75.89 kB / 253.4 MB, free: 8.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 8.268e-05/0.01632, allocations: 84.36 kB / 253.5 MB, free: 8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.01673, allocations: 352.5 kB / 253.8 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.01673, allocations: 4 kB / 253.8 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.01689, allocations: 178.2 kB / 254 MB, free: 7.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.01721, allocations: 472.3 kB / 254.5 MB, free: 6.879 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.02007, allocations: 0.7117 MB / 255.2 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.02013, allocations: 84.31 kB / 255.3 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.02023, allocations: 26.28 kB / 255.3 MB, free: 6.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.0204, allocations: 107.3 kB / 255.4 MB, free: 5.902 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0204, allocations: 0 / 255.4 MB, free: 5.902 MB / 250.7 MB Notification: Performance of Templates: time 0.007338/0.02774, allocations: 4.505 MB / 259.9 MB, free: 1.488 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.491742325015366]