Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001647/0.001647, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001543/0.001543, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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 1.501/1.501, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 267.4 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.645e-05, allocations: 2.312 kB / 267.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006444/0.006471, allocations: 4.022 MB / 271.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.009151, allocations: 1.152 MB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.009618, allocations: 15.94 kB / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.01038, allocations: 142.6 kB / 272.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006522/0.01103, allocations: 214.1 kB / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.01158, allocations: 203.5 kB / 273.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01264, allocations: 0.7861 MB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.01305, allocations: 179 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/0.01373, allocations: 438.9 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.01413, allocations: 243.2 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01425, allocations: 68 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.01436, allocations: 64 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.01452, allocations: 151.3 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.01482, allocations: 235.4 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009441/0.01577, allocations: 0.7631 MB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01577, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01577, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01578, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001929/0.01771, allocations: 0.9382 MB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.01775, allocations: 8.031 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.01796, allocations: 128.5 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.01857, allocations: 347.6 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.01862, allocations: 45.67 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.01872, allocations: 60.38 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.01996, allocations: 0.7258 MB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.01998, allocations: 192 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.02004, allocations: 27.94 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.02006, allocations: 16 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/0.02102, allocations: 417 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.02446, allocations: 1.561 MB / 280.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.0253, allocations: 351 kB / 280.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.02642, allocations: 421.2 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.02645, allocations: 12.27 kB / 281 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.02718, allocations: 481.9 kB / 281.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.02718, allocations: 0 / 281.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.003877/0.03106, allocations: 1.114 MB / 282.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.03128, allocations: 239.3 kB / 282.8 MB, free: 6.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.03192, allocations: 409.5 kB / 283.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.03196, allocations: 33.7 kB / 283.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.03227, allocations: 324.6 kB / 283.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.03242, allocations: 142.8 kB / 283.7 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.03258, allocations: 90.19 kB / 283.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.0328, allocations: 350.8 kB / 284.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.03318, allocations: 152.9 kB / 284.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.03387, allocations: 0.4892 MB / 284.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.03476, allocations: 439.4 kB / 285.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.03477, allocations: 11.94 kB / 285.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001974/0.03675, allocations: 0.7636 MB / 286 MB, free: 3.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.03677, allocations: 8 kB / 286 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.03678, allocations: 4 kB / 286 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.03823, allocations: 339.3 kB / 286.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.03858, allocations: 79.89 kB / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.04367, allocations: 2.66 MB / 289.1 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.04415, allocations: 83.66 kB / 289.2 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.04419, allocations: 20 kB / 289.2 MB, free: 136 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.1238/0.168, allocations: 178 kB / 289.4 MB, free: 32.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.1682, allocations: 60.52 kB / 289.4 MB, free: 32.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.1684, allocations: 50.84 kB / 289.5 MB, free: 32.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1684, allocations: 5.562 kB / 289.5 MB, free: 32.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1684, allocations: 0 / 289.5 MB, free: 32.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1684, allocations: 1.812 kB / 289.5 MB, free: 32.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.1709, allocations: 1.094 MB / 290.6 MB, free: 32.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1709, allocations: 0.5625 kB / 290.6 MB, free: 32.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1711, allocations: 41.67 kB / 290.6 MB, free: 32.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.1724, allocations: 331.3 kB / 290.9 MB, free: 32.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.1724, allocations: 11.5 kB / 291 MB, free: 32.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.176, allocations: 2.626 MB / 293.6 MB, free: 30.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.176, allocations: 3.969 kB / 293.6 MB, free: 30.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.178, allocations: 0.9176 MB / 294.5 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.178, allocations: 47.08 kB / 294.5 MB, free: 30.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.1781, allocations: 11.84 kB / 294.6 MB, free: 30.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.1784, allocations: 43.53 kB / 294.6 MB, free: 30.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.1785, allocations: 31.64 kB / 294.6 MB, free: 30.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.1786, allocations: 12.7 kB / 294.6 MB, free: 30.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003087/0.1789, allocations: 285 kB / 294.9 MB, free: 29.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1789, allocations: 1.188 kB / 294.9 MB, free: 29.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006554/0.1795, allocations: 184.2 kB / 295.1 MB, free: 29.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.1797, allocations: 112.8 kB / 295.2 MB, free: 29.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1808, allocations: 0.5602 MB / 295.8 MB, free: 29.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1808, allocations: 2.938 kB / 295.8 MB, free: 29.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006488/0.1814, allocations: 376.7 kB / 296.1 MB, free: 29.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.1819, allocations: 71.45 kB / 296.2 MB, free: 29.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1836, allocations: 0.9203 MB / 297.1 MB, free: 28.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1839, allocations: 260.3 kB / 297.4 MB, free: 28.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.1841, allocations: 45.94 kB / 297.4 MB, free: 28.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.1841, allocations: 36.7 kB / 297.5 MB, free: 28.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1841, allocations: 0 / 297.5 MB, free: 28.66 MB / 266.7 MB Notification: Performance of Templates: time 0.01179/0.1959, allocations: 6.602 MB / 304.1 MB, free: 26.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.830092510092072]