Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 97.72 kB / 16.94 MB, free: 6.441 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.001323/0.001323, allocations: 184.4 kB / 17.83 MB, free: 6.008 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.798/1.798, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005979/0.0005982, allocations: 16 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1375, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003911/0.1415, allocations: 2.218 MB / 330.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1435, allocations: 0.6714 MB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.1439, allocations: 4 kB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.144, allocations: 31.75 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.1444, allocations: 99.7 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1448, allocations: 63.86 kB / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.1454, allocations: 243.5 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.1456, allocations: 94.22 kB / 331.7 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1459, allocations: 131.5 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1461, allocations: 139.4 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1462, allocations: 16 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.1463, allocations: 20 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1463, allocations: 51.81 kB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.1465, allocations: 77.52 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.1468, allocations: 275.6 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1468, allocations: 0 / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1468, allocations: 0 / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.1469, allocations: 0 / 332.4 MB, free: 15.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001514/0.1484, allocations: 0.6185 MB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.1484, allocations: 12.03 kB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1486, allocations: 35.56 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.1491, allocations: 271.4 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.1491, allocations: 20.52 kB / 333.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.1492, allocations: 24 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008323/0.15, allocations: 311.3 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1501, allocations: 4 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1501, allocations: 8 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1501, allocations: 11.98 kB / 333.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.1509, allocations: 265.6 kB / 334 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1528, allocations: 1.113 MB / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.1537, allocations: 246.6 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1538, allocations: 0 / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.1543, allocations: 177.9 kB / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1543, allocations: 0 / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002201/0.1565, allocations: 0.5536 MB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.1566, allocations: 106.8 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.157, allocations: 282.7 kB / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.157, allocations: 25.7 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1572, allocations: 199.5 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1572, allocations: 43.44 kB / 336.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.1572, allocations: 4 kB / 336.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1574, allocations: 338.8 kB / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1577, allocations: 100.2 kB / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.1582, allocations: 218.1 kB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1586, allocations: 141.6 kB / 337.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1586, allocations: 0 / 337.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001232/0.1598, allocations: 451.3 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.1599, allocations: 41.62 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.1599, allocations: 7.938 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.1603, allocations: 72.84 kB / 338.1 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1606, allocations: 59.89 kB / 338.1 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.1633, allocations: 1.605 MB / 339.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.1637, allocations: 63.72 kB / 339.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1637, allocations: 8 kB / 339.8 MB, free: 8.059 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.164, allocations: 149.7 kB / 339.9 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.164, allocations: 23.72 kB / 340 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.1641, allocations: 33.7 kB / 340 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1641, allocations: 0 / 340 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1641, allocations: 0 / 340 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1641, allocations: 7.938 kB / 340 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.1645, allocations: 305.4 kB / 340.3 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1645, allocations: 0 / 340.3 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1646, allocations: 19.98 kB / 340.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.1649, allocations: 72.8 kB / 340.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1649, allocations: 0 / 340.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.1671, allocations: 1.597 MB / 342 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1671, allocations: 0 / 342 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1681, allocations: 341.4 kB / 342.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1683, allocations: 116.8 kB / 342.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.1683, allocations: 7.984 kB / 342.5 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1686, allocations: 35.97 kB / 342.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.1687, allocations: 23.91 kB / 342.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1687, allocations: 3.984 kB / 342.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.169, allocations: 202 kB / 342.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.169, allocations: 0 / 342.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.1694, allocations: 83.83 kB / 342.8 MB, free: 4.832 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.1696, allocations: 99.23 kB / 342.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1707, allocations: 433.9 kB / 343.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1707, allocations: 4 kB / 343.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.1712, allocations: 239.1 kB / 343.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1715, allocations: 33.64 kB / 343.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1726, allocations: 0.5471 MB / 344.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1731, allocations: 0.7637 MB / 344.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1732, allocations: 30.27 kB / 344.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.1733, allocations: 19.44 kB / 344.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1733, allocations: 4 kB / 345 MB, free: 2.578 MB / 286.1 MB Notification: Performance of Templates: time 0.008426/0.1817, allocations: 3.635 MB / 348.6 MB, free: 14.95 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches