Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 167.1 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.897e-06/9.869e-06, allocations: 2.312 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003711/0.00372, allocations: 4.352 MB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.00553, allocations: 1.254 MB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.005732, allocations: 19.94 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.005999, allocations: 134.7 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.006304, allocations: 222 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.006678, allocations: 219.6 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.007172, allocations: 0.8015 MB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.007403, allocations: 179.1 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.007746, allocations: 439 kB / 281 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.007983, allocations: 255.1 kB / 281.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.008048, allocations: 64 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.008133, allocations: 71.98 kB / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.008211, allocations: 151.4 kB / 281.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.008407, allocations: 243.4 kB / 281.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.008771, allocations: 0.4942 MB / 282.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.008774, allocations: 4 kB / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008774, allocations: 0 / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.008779, allocations: 0 / 282.3 MB, free: 8.32 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.0008795/0.009658, allocations: 1.052 MB / 283.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.00969, allocations: 8.031 kB / 283.4 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.009901, allocations: 140.5 kB / 283.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.01023, allocations: 358.3 kB / 283.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.01026, allocations: 41.69 kB / 283.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.01031, allocations: 60.38 kB / 284 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.01076, allocations: 0.5796 MB / 284.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01077, allocations: 192 / 284.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.0108, allocations: 27.92 kB / 284.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01081, allocations: 20 kB / 284.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.01099, allocations: 161 kB / 284.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.01243, allocations: 1.552 MB / 286.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.01272, allocations: 271.5 kB / 286.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.01314, allocations: 344.6 kB / 286.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.01316, allocations: 16.27 kB / 286.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.01341, allocations: 422.5 kB / 287.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.092e-06/0.01341, allocations: 0 / 287.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.00119/0.0146, allocations: 0.7572 MB / 288.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.01467, allocations: 239.3 kB / 288.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.01505, allocations: 434.3 kB / 288.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01507, allocations: 33.7 kB / 288.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.01522, allocations: 375.4 kB / 289.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.01529, allocations: 154.7 kB / 289.3 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/0.01538, allocations: 99.8 kB / 289.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.01551, allocations: 0.5273 MB / 289.9 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.01557, allocations: 56.95 kB / 290 MB, free: 248 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1082/0.1238, allocations: 460.7 kB / 290.4 MB, free: 24.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1241, allocations: 315.1 kB / 290.7 MB, free: 24.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1241, allocations: 1.344 kB / 290.7 MB, free: 24.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008003/0.1249, allocations: 0.5156 MB / 291.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1249, allocations: 11.16 kB / 291.3 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1249, allocations: 3.938 kB / 291.3 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.1254, allocations: 228.1 kB / 291.5 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1256, allocations: 81.48 kB / 291.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.1273, allocations: 2.672 MB / 294.2 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.1275, allocations: 73.25 kB / 294.3 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1275, allocations: 16.38 kB / 294.3 MB, free: 22.24 MB / 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.0001545/0.1277, allocations: 195.3 kB / 294.5 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.1277, allocations: 64.19 kB / 294.6 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.1278, allocations: 54.7 kB / 294.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1278, allocations: 4.125 kB / 294.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1278, allocations: 3.938 kB / 294.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1278, allocations: 3.25 kB / 294.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.1287, allocations: 0.8426 MB / 295.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1287, allocations: 0.5156 kB / 295.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1289, allocations: 49.25 kB / 295.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.1293, allocations: 230.2 kB / 295.8 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1293, allocations: 11.45 kB / 295.8 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.1307, allocations: 2.647 MB / 298.4 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1307, allocations: 1.219 kB / 298.4 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.1314, allocations: 0.6236 MB / 299 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1314, allocations: 53.81 kB / 299.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1315, allocations: 10.81 kB / 299.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1316, allocations: 37.23 kB / 299.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.1317, allocations: 35.61 kB / 299.2 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1317, allocations: 9.125 kB / 299.2 MB, free: 19.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1319, allocations: 273.5 kB / 299.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1319, allocations: 0 / 299.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000425/0.1323, allocations: 181.2 kB / 299.6 MB, free: 19.31 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 9.575e-05/0.1324, allocations: 109.3 kB / 299.7 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1329, allocations: 490.2 kB / 300.2 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1329, allocations: 0 / 300.2 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.1331, allocations: 373.8 kB / 300.6 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1335, allocations: 81.94 kB / 300.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1346, allocations: 0.8609 MB / 301.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.1347, allocations: 132.2 kB / 301.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1348, allocations: 45.89 kB / 301.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.135, allocations: 165.7 kB / 301.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.135, allocations: 1.156 kB / 301.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of Templates: time 0.009019/0.144, allocations: 7.144 MB / 309 MB, free: 15.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.807467494159937]