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.001022/0.001022, allocations: 95.61 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.001113/0.001113, allocations: 175.6 kB / 18.21 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 2.006/2.006, 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.0005369/0.0005371, allocations: 14.97 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003736/0.1369, allocations: 2.391 MB / 331.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1386, allocations: 0.71 MB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1389, allocations: 7.938 kB / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1391, allocations: 31.77 kB / 332.1 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1395, allocations: 75.44 kB / 332.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1399, allocations: 83.84 kB / 332.3 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.1404, allocations: 326.6 kB / 332.6 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.1406, allocations: 69.16 kB / 332.7 MB, free: 48 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1409, allocations: 111.6 kB / 332.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.1411, allocations: 135.3 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.1412, allocations: 16 kB / 332.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.148e-05/0.1413, allocations: 16 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.1413, allocations: 51.75 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1415, allocations: 157 kB / 333.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1418, allocations: 302.9 kB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1418, allocations: 4 kB / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1419, allocations: 0 / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1419, allocations: 4 kB / 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.001343/0.1432, allocations: 0.6069 MB / 334 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1433, allocations: 12.03 kB / 334.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1434, allocations: 32.56 kB / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.1438, allocations: 267.6 kB / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1439, allocations: 20.8 kB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1439, allocations: 20.38 kB / 334.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.1446, allocations: 259.5 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1446, allocations: 4 kB / 334.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1447, allocations: 11.98 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1447, allocations: 11.88 kB / 334.7 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.1455, allocations: 285.6 kB / 334.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1471, allocations: 0.8931 MB / 335.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.1479, allocations: 266.6 kB / 336.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.1483, allocations: 112.8 kB / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1483, allocations: 11.94 kB / 336.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.1488, allocations: 189.8 kB / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.545e-06/0.1489, allocations: 0 / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002264/0.1511, allocations: 0.7137 MB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.1512, allocations: 102.8 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1515, allocations: 266.6 kB / 337.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1516, allocations: 29.7 kB / 337.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1518, allocations: 179.8 kB / 337.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1518, allocations: 43.36 kB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1519, allocations: 29.7 kB / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.152, allocations: 330.8 kB / 338.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1524, allocations: 107.9 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1528, allocations: 197.2 kB / 338.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.1534, allocations: 297.2 kB / 338.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1535, allocations: 4 kB / 338.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001454/0.1549, allocations: 486.7 kB / 339.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.1551, allocations: 181.5 kB / 339.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1551, allocations: 0 / 339.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.1557, allocations: 136.7 kB / 339.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.1559, allocations: 51.91 kB / 339.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.1588, allocations: 1.814 MB / 341.3 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.1592, allocations: 60 kB / 341.4 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.1593, allocations: 12 kB / 341.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1593, allocations: 4 kB / 341.4 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008756/0.1602, allocations: 338.2 kB / 341.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1602, allocations: 4.031 kB / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.1604, allocations: 36.84 kB / 341.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1606, allocations: 51.91 kB / 341.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1621, allocations: 1.534 MB / 343.3 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.1625, allocations: 47.88 kB / 343.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1625, allocations: 8 kB / 343.4 MB, free: 4.582 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.0002443/0.1628, allocations: 224.4 kB / 343.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.1628, allocations: 19.72 kB / 343.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.1629, allocations: 29.77 kB / 343.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1629, allocations: 0 / 343.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1629, allocations: 0 / 343.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1629, allocations: 8.188 kB / 343.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.1633, allocations: 297.4 kB / 344 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1633, allocations: 0 / 344 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.1635, allocations: 23.98 kB / 344 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.1638, allocations: 80.8 kB / 344.1 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1639, allocations: 7.922 kB / 344.1 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.1663, allocations: 1.732 MB / 345.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1663, allocations: 0 / 345.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1674, allocations: 381.5 kB / 346.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1676, allocations: 104.8 kB / 346.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.1676, allocations: 4.188 kB / 346.3 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1679, allocations: 51.89 kB / 346.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.168, allocations: 15.98 kB / 346.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.168, allocations: 7.984 kB / 346.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.1683, allocations: 186 kB / 346.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1683, allocations: 0 / 346.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006775/0.169, allocations: 127.8 kB / 346.7 MB, free: 1.078 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.0001888/0.1692, allocations: 103.2 kB / 346.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.1712, allocations: 0.7962 MB / 347.6 MB, free: 128 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1713, allocations: 0 / 347.6 MB, free: 128 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.1718, allocations: 259.5 kB / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1722, allocations: 44.48 kB / 347.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1748, allocations: 0.9164 MB / 348.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.1753, allocations: 0.7482 MB / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1755, allocations: 30.28 kB / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.1756, allocations: 15.44 kB / 349.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1756, allocations: 0 / 349.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01061/0.1862, allocations: 3.855 MB / 353.4 MB, free: 10.2 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