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.001641/0.001641, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001911/0.001911, allocations: 187 kB / 19.29 MB, free: 3.844 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.486/1.486, 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.001273/0.001273, allocations: 55.91 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.004576/0.1263, allocations: 2.707 MB / 331.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1279, allocations: 0.7137 MB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1281, allocations: 4 kB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1284, allocations: 43.56 kB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1286, allocations: 95.25 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.129, allocations: 95.81 kB / 332.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.1295, allocations: 350.5 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1298, allocations: 80.7 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.13, allocations: 143.4 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1302, allocations: 143.4 kB / 333.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.1303, allocations: 28 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.1303, allocations: 32 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.1304, allocations: 63.75 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1306, allocations: 151.2 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.131, allocations: 322.8 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.131, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.62e-06/0.131, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.1311, 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.001424/0.1325, allocations: 0.6301 MB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1326, allocations: 12.02 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.1327, allocations: 32.66 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1332, allocations: 283.4 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1332, allocations: 16.81 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.1333, allocations: 16.38 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.1339, allocations: 251.5 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1339, allocations: 4 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.134, allocations: 4 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.134, allocations: 8 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.1347, allocations: 253.5 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1363, allocations: 0.8734 MB / 336.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.137, allocations: 222.6 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1373, allocations: 100.8 kB / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1373, allocations: 4 kB / 336.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.1378, allocations: 181.7 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1378, allocations: 0 / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002068/0.1399, allocations: 0.581 MB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.1399, allocations: 110.8 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1402, allocations: 260.8 kB / 337.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.1403, allocations: 33.7 kB / 337.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1404, allocations: 171.9 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.1405, allocations: 47.36 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.1406, allocations: 45.64 kB / 337.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1407, allocations: 330.8 kB / 338.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.141, allocations: 96.78 kB / 338.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1414, allocations: 163.4 kB / 338.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.142, allocations: 254.7 kB / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.142, allocations: 0 / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001053/0.1431, allocations: 415.4 kB / 339 MB, free: 9.066 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.1432, allocations: 33.7 kB / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1432, allocations: 128 / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.1437, allocations: 112.7 kB / 339.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1439, allocations: 35.91 kB / 339.2 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.1463, allocations: 1.888 MB / 341.1 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1466, allocations: 43.88 kB / 341.1 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1467, allocations: 15.98 kB / 341.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003807/0.1471, allocations: 176.1 kB / 341.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003329/0.1474, allocations: 147.6 kB / 341.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005294/0.148, allocations: 223.6 kB / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.148, allocations: 0 / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007803/0.1488, allocations: 338.8 kB / 342 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1488, allocations: 37.69 kB / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1488, allocations: 0 / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.149, allocations: 40.84 kB / 342.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1492, allocations: 48.03 kB / 342.1 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.1507, allocations: 1.72 MB / 343.8 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.151, allocations: 39.81 kB / 343.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1511, allocations: 12.19 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.0002407/0.1513, allocations: 200.1 kB / 344.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1514, allocations: 23.78 kB / 344.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1514, allocations: 29.83 kB / 344.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1514, allocations: 4 kB / 344.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1514, allocations: 0 / 344.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1514, allocations: 0 / 344.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1518, allocations: 293.4 kB / 344.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1518, allocations: 0 / 344.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1519, allocations: 27.97 kB / 344.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.1522, allocations: 60.81 kB / 344.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1522, allocations: 4 kB / 344.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.1542, allocations: 1.707 MB / 346.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1542, allocations: 192 / 346.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/0.155, allocations: 330 kB / 346.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.1551, allocations: 108.8 kB / 346.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.1552, allocations: 4 kB / 346.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1554, allocations: 27.97 kB / 346.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1555, allocations: 27.91 kB / 346.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1556, allocations: 7.938 kB / 346.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1558, allocations: 188.5 kB / 346.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1558, allocations: 0 / 346.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.1564, 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.000233/0.1566, allocations: 107.2 kB / 347.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.1581, allocations: 0.6917 MB / 347.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1581, allocations: 4.062 kB / 347.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.1585, 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.0003491/0.1589, allocations: 44.52 kB / 348.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.16, allocations: 443.6 kB / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1604, allocations: 0.7522 MB / 349.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1605, allocations: 22.3 kB / 349.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.1606, allocations: 23.44 kB / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1606, allocations: 0 / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of Templates: time 0.009571/0.1702, allocations: 4.258 MB / 353.6 MB, free: 9.75 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 gbode -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