Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108.4 kB / 18.34 MB, free: 4.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 51.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.00469/0.1187, allocations: 2.718 MB / 331.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1204, allocations: 0.7098 MB / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1207, allocations: 7.938 kB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1209, allocations: 43.58 kB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1212, allocations: 91.25 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1215, allocations: 95.81 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.122, allocations: 358.6 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1222, allocations: 76.72 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1224, allocations: 131.5 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1227, allocations: 151.3 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.1228, allocations: 32 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.1228, allocations: 32 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.1229, allocations: 59.77 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1231, allocations: 155.2 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1235, allocations: 322.9 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1235, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1235, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1235, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001344/0.1249, allocations: 0.6379 MB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1249, allocations: 8.031 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.125, allocations: 28.66 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.1256, allocations: 279.5 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1256, allocations: 12.81 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.1257, allocations: 24.38 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.1263, allocations: 247.5 kB / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1263, allocations: 3.938 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1264, allocations: 8 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1264, allocations: 8 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.1271, allocations: 249.6 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1288, allocations: 0.8658 MB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.1295, allocations: 230.5 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1298, allocations: 100.7 kB / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1298, allocations: 0 / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.1303, allocations: 185.8 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.1303, allocations: 0 / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001952/0.1322, allocations: 0.5771 MB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.1323, allocations: 106.8 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.1327, allocations: 272.8 kB / 337.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1327, allocations: 25.7 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1329, allocations: 175.9 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1329, allocations: 43.34 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.133, allocations: 49.64 kB / 337.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1332, allocations: 334.8 kB / 338.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.1335, allocations: 104.7 kB / 338.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.134, allocations: 151.5 kB / 338.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.1346, allocations: 254.8 kB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.1346, allocations: 4 kB / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001035/0.1357, allocations: 411.5 kB / 339 MB, free: 9.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.1357, allocations: 41.62 kB / 339 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1357, allocations: 0 / 339 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.1363, allocations: 108.8 kB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.1365, allocations: 35.97 kB / 339.2 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.139, allocations: 1.884 MB / 341.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.1394, allocations: 55.89 kB / 341.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1394, allocations: 7.938 kB / 341.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003239/0.1397, allocations: 180.1 kB / 341.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002815/0.14, allocations: 147.7 kB / 341.4 MB, free: 6.438 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004652/0.1405, allocations: 219.6 kB / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.1405, allocations: 0 / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007323/0.1413, allocations: 342.8 kB / 342 MB, free: 5.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.1413, allocations: 37.62 kB / 342 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1413, allocations: 4 kB / 342 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.1414, allocations: 36.84 kB / 342.1 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.1416, allocations: 39.95 kB / 342.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.1432, allocations: 1.717 MB / 343.8 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1435, allocations: 47.83 kB / 343.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1436, allocations: 11.94 kB / 343.9 MB, free: 3.809 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.1437, allocations: 192.2 kB / 344.1 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1438, allocations: 23.91 kB / 344.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.1438, allocations: 21.89 kB / 344.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1439, allocations: 8 kB / 344.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1439, allocations: 4 kB / 344.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1439, allocations: 0 / 344.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1443, allocations: 301.4 kB / 344.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1443, allocations: 0 / 344.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1444, allocations: 23.95 kB / 344.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.1447, allocations: 72.75 kB / 344.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1447, allocations: 11.86 kB / 344.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.1466, allocations: 1.707 MB / 346.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1466, allocations: 192 / 346.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.1474, allocations: 322 kB / 346.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1475, allocations: 100.8 kB / 346.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.1475, allocations: 8 kB / 346.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1477, allocations: 31.95 kB / 346.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.1479, allocations: 23.92 kB / 346.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1479, allocations: 7.984 kB / 346.7 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.1481, allocations: 184.5 kB / 346.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 346.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000612/0.1487, allocations: 123.8 kB / 347 MB, free: 452 kB / 286.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.1489, allocations: 107.2 kB / 347.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1506, allocations: 0.6957 MB / 347.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1506, allocations: 0 / 347.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.151, allocations: 234.6 kB / 348.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1514, allocations: 40.53 kB / 348.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.1524, allocations: 443.7 kB / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.1529, allocations: 0.7522 MB / 349.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.153, allocations: 26.28 kB / 349.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1531, allocations: 15.44 kB / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1531, allocations: 0 / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of Templates: time 0.008987/0.1621, allocations: 4.269 MB / 353.6 MB, free: 9.746 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches