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.001265/0.001265, allocations: 93.64 kB / 17.3 MB, free: 6.391 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.00129/0.00129, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.98/1.98, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004594/0.0004594, allocations: 16 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 47.59 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003704/0.1343, allocations: 2.391 MB / 331.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1364, allocations: 0.7061 MB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1366, allocations: 7.938 kB / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1369, allocations: 27.77 kB / 332.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1371, allocations: 83.38 kB / 332.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1375, allocations: 75.91 kB / 332.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.1379, allocations: 334.6 kB / 332.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.1382, allocations: 65.16 kB / 332.7 MB, free: 48 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1384, allocations: 115.6 kB / 332.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1386, allocations: 131.3 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1386, allocations: 16 kB / 332.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.407e-05/0.1387, allocations: 16 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1388, allocations: 51.75 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.139, allocations: 160.9 kB / 333.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1393, allocations: 299 kB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1394, allocations: 4 kB / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1394, allocations: 0 / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1394, allocations: 0 / 333.4 MB, free: 15.26 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.001282/0.1407, allocations: 0.6108 MB / 334 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1407, allocations: 12.03 kB / 334.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1408, allocations: 28.56 kB / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1412, allocations: 267.6 kB / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1412, allocations: 24.8 kB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1412, allocations: 20.38 kB / 334.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.1419, allocations: 267.5 kB / 334.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1419, allocations: 0 / 334.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.1419, allocations: 8 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.142, allocations: 7.984 kB / 334.7 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.1427, allocations: 289.6 kB / 334.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.1445, allocations: 0.8853 MB / 335.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.1453, allocations: 274.5 kB / 336.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1457, allocations: 116.8 kB / 336.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1457, allocations: 0 / 336.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005414/0.1463, allocations: 193.7 kB / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1463, allocations: 0 / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002211/0.1485, allocations: 0.7098 MB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.1486, allocations: 106.8 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.149, allocations: 264.9 kB / 337.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.149, allocations: 29.7 kB / 337.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1492, allocations: 167.9 kB / 337.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.1493, allocations: 47.34 kB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1493, allocations: 25.7 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1495, allocations: 334.8 kB / 338.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.1499, allocations: 107.9 kB / 338.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.1503, allocations: 167.7 kB / 338.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.151, allocations: 298.5 kB / 338.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.151, allocations: 0 / 338.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001232/0.1523, allocations: 467.5 kB / 339.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.1525, allocations: 163.9 kB / 339.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1525, allocations: 4 kB / 339.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.1531, allocations: 132.7 kB / 339.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1533, allocations: 51.91 kB / 339.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.1559, allocations: 1.752 MB / 341.2 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.1563, allocations: 55.86 kB / 341.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1563, allocations: 12 kB / 341.2 MB, free: 6.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.1564, allocations: 4 kB / 341.2 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007483/0.1571, allocations: 322.2 kB / 341.6 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1571, allocations: 4.031 kB / 341.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.1572, allocations: 40.83 kB / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.1574, allocations: 43.91 kB / 341.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1587, allocations: 1.534 MB / 343.2 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.159, allocations: 47.88 kB / 343.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.159, allocations: 12 kB / 343.2 MB, free: 4.762 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.0002091/0.1592, allocations: 213 kB / 343.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1593, allocations: 15.81 kB / 343.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.1593, allocations: 29.78 kB / 343.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1593, allocations: 0 / 343.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1593, allocations: 3.984 kB / 343.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.1593, allocations: 4 kB / 343.5 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.1597, allocations: 297.3 kB / 343.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1597, allocations: 0 / 343.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1598, allocations: 27.97 kB / 343.8 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.1601, allocations: 76.81 kB / 343.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1601, allocations: 7.938 kB / 343.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.1621, allocations: 1.648 MB / 345.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1621, allocations: 0 / 345.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.1631, allocations: 373.6 kB / 345.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.1632, allocations: 100.8 kB / 346 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1632, allocations: 8 kB / 346 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1634, allocations: 39.91 kB / 346.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.1635, allocations: 19.97 kB / 346.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1636, allocations: 11.94 kB / 346.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1638, allocations: 188.5 kB / 346.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1638, allocations: 0 / 346.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005825/0.1644, allocations: 123.7 kB / 346.4 MB, free: 1.379 MB / 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.0001723/0.1645, allocations: 103.2 kB / 346.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.166, allocations: 0.726 MB / 347.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1661, allocations: 0 / 347.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.1665, allocations: 259.4 kB / 347.5 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1669, allocations: 40.55 kB / 347.5 MB, free: 192 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.168, allocations: 0.5413 MB / 348.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1684, allocations: 0.7482 MB / 348.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1685, allocations: 30.22 kB / 348.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.1686, allocations: 19.44 kB / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1686, allocations: 0 / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Templates: time 0.008225/0.1768, allocations: 3.891 MB / 352.7 MB, free: 10.9 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches