Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001654/0.001654, allocations: 76.05 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001915/0.001915, allocations: 145.7 kB / 24.48 MB, free: 3.734 MB / 14.72 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.463/1.463, allocations: 173.4 MB / 201 MB, free: 12.71 MB / 190.1 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 46.45 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1062, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.005227/0.1114, allocations: 2.743 MB / 374.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1129, allocations: 0.7051 MB / 375 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.1133, allocations: 7.938 kB / 375.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1135, allocations: 47.5 kB / 375.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1137, allocations: 103.2 kB / 375.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1141, allocations: 123.8 kB / 375.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.1146, allocations: 414.4 kB / 375.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1148, allocations: 87.61 kB / 375.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.115, allocations: 159.4 kB / 376 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1153, allocations: 159.2 kB / 376.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.1154, allocations: 40 kB / 376.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.1155, allocations: 40 kB / 376.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1156, allocations: 79.7 kB / 376.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.1157, allocations: 139.4 kB / 376.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.1163, allocations: 458.3 kB / 376.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1163, allocations: 0 / 376.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1163, allocations: 3.938 kB / 376.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1163, allocations: 0 / 376.9 MB, free: 2.039 MB / 334.1 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.001408/0.1177, allocations: 0.6091 MB / 377.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1177, allocations: 8.031 kB / 377.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.1178, allocations: 32.75 kB / 377.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.1183, allocations: 246 kB / 377.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1183, allocations: 20.88 kB / 377.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.1183, allocations: 24.38 kB / 377.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.1191, allocations: 378.4 kB / 378.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1191, allocations: 0 / 378.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1192, allocations: 8 kB / 378.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1192, allocations: 12 kB / 378.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.12, allocations: 281.8 kB / 378.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.122, allocations: 0.9882 MB / 379.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.1228, allocations: 242.5 kB / 379.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.1232, allocations: 104.8 kB / 379.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1232, allocations: 4 kB / 379.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.1237, allocations: 229.3 kB / 380 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1237, allocations: 0 / 380 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002405/0.1261, allocations: 0.5799 MB / 380.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.1262, allocations: 115 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1265, allocations: 273.8 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1265, allocations: 37.64 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1267, allocations: 207.9 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1267, allocations: 43.64 kB / 381.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.1268, allocations: 45.94 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.127, allocations: 334.8 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.1274, allocations: 142.1 kB / 381.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.1279, allocations: 282 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.1287, allocations: 311.7 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1287, allocations: 4 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001376/0.1301, allocations: 497.4 kB / 382.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.1302, allocations: 37.7 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1302, allocations: 4 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.1305, allocations: 84.73 kB / 383 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.1308, allocations: 51.98 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.1336, allocations: 1.852 MB / 384.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.1339, allocations: 59.98 kB / 384.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.134, allocations: 16 kB / 384.9 MB, free: 9.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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 0.0001821/0.1341, allocations: 149.7 kB / 385.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.1342, allocations: 23.86 kB / 385.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.1342, allocations: 25.77 kB / 385.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1342, allocations: 4 kB / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1342, allocations: 0 / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1342, allocations: 0 / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1345, allocations: 221.1 kB / 385.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1345, allocations: 0 / 385.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1347, allocations: 23.97 kB / 385.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.135, allocations: 84.8 kB / 385.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.135, allocations: 0 / 385.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.1374, allocations: 1.671 MB / 387.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1374, allocations: 4.031 kB / 387.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1386, allocations: 376.5 kB / 387.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.1386, allocations: 27.84 kB / 387.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.1387, allocations: 4 kB / 387.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1389, allocations: 31.95 kB / 387.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.139, allocations: 23.95 kB / 387.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.139, allocations: 8 kB / 387.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1392, allocations: 193.2 kB / 387.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 0 / 387.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1396, allocations: 79.89 kB / 387.9 MB, free: 6.359 MB / 350.1 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 0.0001331/0.1398, allocations: 103.2 kB / 388 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.1409, allocations: 463.4 kB / 388.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1409, allocations: 0 / 388.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.1414, allocations: 231.2 kB / 388.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1417, allocations: 46.75 kB / 388.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1428, allocations: 0.4885 MB / 389.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.143, allocations: 146.9 kB / 389.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1431, allocations: 22.3 kB / 389.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.1432, allocations: 20.5 kB / 389.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1432, allocations: 0 / 389.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Templates: time 0.009005/0.1522, allocations: 4.094 MB / 393.5 MB, free: 0.7305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.372235930990428]