Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,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.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.00129, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001345/0.001345, allocations: 190 kB / 18.07 MB, free: 5.414 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.648/1.648, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001309/0.001309, allocations: 43.94 kB / 280 MB, free: 3.559 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 46.63 MB / 326.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004688/0.1474, allocations: 2.756 MB / 329.4 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.149, allocations: 0.7138 MB / 330.1 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1491, allocations: 4 kB / 330.1 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1494, allocations: 31.77 kB / 330.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1496, allocations: 75.39 kB / 330.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.15, allocations: 83.91 kB / 330.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.1503, allocations: 330.6 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1506, allocations: 73.14 kB / 330.7 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1508, allocations: 119.5 kB / 330.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.151, allocations: 135.4 kB / 330.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.151, allocations: 20 kB / 330.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.1511, allocations: 16 kB / 330.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1511, allocations: 67.67 kB / 331 MB, free: 444 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1513, allocations: 131.3 kB / 331.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1516, allocations: 311.1 kB / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.1516, allocations: 0 / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1516, allocations: 0 / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1516, allocations: 0 / 331.4 MB, free: 0 / 270.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.001291/0.1529, allocations: 0.638 MB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.153, allocations: 11.97 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.1531, allocations: 32.66 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1534, allocations: 275.5 kB / 332.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1534, allocations: 16.8 kB / 332.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.1535, allocations: 32.31 kB / 332.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.1541, allocations: 243.5 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1541, allocations: 0 / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.1542, allocations: 16 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1542, allocations: 4 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/0.1549, allocations: 249.6 kB / 332.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1565, allocations: 0.8736 MB / 333.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.1572, allocations: 222.5 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.1575, allocations: 100.8 kB / 334.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1576, allocations: 0 / 334.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.1581, allocations: 177.7 kB / 334.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1581, allocations: 4 kB / 334.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001899/0.16, allocations: 0.5852 MB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.1601, allocations: 110.8 kB / 335 MB, free: 12.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1604, allocations: 270.6 kB / 335.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1604, allocations: 29.7 kB / 335.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1605, allocations: 179.8 kB / 335.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1606, allocations: 43.36 kB / 335.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.1607, allocations: 49.7 kB / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1608, allocations: 330.8 kB / 335.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1612, allocations: 100.8 kB / 336 MB, free: 11.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.1615, allocations: 165.4 kB / 336.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.1621, allocations: 272.3 kB / 336.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1621, allocations: 0 / 336.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001085/0.1632, allocations: 431.5 kB / 336.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.1633, allocations: 37.69 kB / 336.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1633, allocations: 4 kB / 336.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.1638, allocations: 104.8 kB / 337 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.164, allocations: 47.89 kB / 337 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.1663, allocations: 1.733 MB / 338.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.1666, allocations: 47.78 kB / 338.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1667, allocations: 15.98 kB / 338.8 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003651/0.167, allocations: 184.1 kB / 339 MB, free: 7.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003092/0.1674, allocations: 157.8 kB / 339.2 MB, free: 7.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005269/0.1679, allocations: 248.4 kB / 339.4 MB, free: 7.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.1679, allocations: 0 / 339.4 MB, free: 7.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007658/0.1687, allocations: 355.6 kB / 339.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1687, allocations: 29.7 kB / 339.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1687, allocations: 7.938 kB / 339.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.1689, allocations: 44.83 kB / 339.8 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1691, allocations: 47.91 kB / 339.9 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1704, allocations: 1.553 MB / 341.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.1707, allocations: 43.81 kB / 341.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1707, allocations: 8 kB / 341.5 MB, free: 5.215 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001446/0.1708, allocations: 196.1 kB / 341.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1709, allocations: 27.66 kB / 341.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1709, allocations: 29.89 kB / 341.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1709, allocations: 0 / 341.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.171, allocations: 0 / 341.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.171, allocations: 0 / 341.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1712, allocations: 297.4 kB / 342 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1713, allocations: 0 / 342 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1714, allocations: 19.98 kB / 342 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.1716, allocations: 72.73 kB / 342.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1717, allocations: 0 / 342.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.1735, allocations: 1.686 MB / 343.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1735, allocations: 0 / 343.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.1743, allocations: 337.5 kB / 344.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.1744, allocations: 100.8 kB / 344.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1745, allocations: 4 kB / 344.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1747, allocations: 27.97 kB / 344.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.1748, allocations: 19.97 kB / 344.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1748, allocations: 11.98 kB / 344.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.175, allocations: 186 kB / 344.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.175, allocations: 0 / 344.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.1758, allocations: 131.7 kB / 344.6 MB, free: 1.863 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.0001473/0.1759, allocations: 99.25 kB / 344.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.1775, allocations: 0.7307 MB / 345.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1776, allocations: 4 kB / 345.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.178, allocations: 230.5 kB / 345.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1784, allocations: 48.86 kB / 345.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.1804, allocations: 0.7839 MB / 346.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1807, allocations: 0.7482 MB / 347.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.1809, allocations: 30.28 kB / 347.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.181, allocations: 15.44 kB / 347.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.181, allocations: 3.938 kB / 347.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Templates: time 0.008799/0.1898, allocations: 3.895 MB / 351.2 MB, free: 11.16 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches