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.001171/0.001171, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.00132/0.001321, allocations: 198 kB / 18.07 MB, free: 5.41 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.612/1.612, 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.001417/0.001417, allocations: 43.94 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 46.63 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005764/0.1373, allocations: 2.795 MB / 329.4 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1391, allocations: 0.6865 MB / 330.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.1394, allocations: 4 kB / 330.1 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1398, allocations: 35.69 kB / 330.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1401, allocations: 75.39 kB / 330.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.1405, allocations: 79.92 kB / 330.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.141, allocations: 358.5 kB / 330.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.1413, allocations: 95.61 kB / 330.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1415, allocations: 131.5 kB / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1417, allocations: 155.2 kB / 331 MB, free: 480 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.1418, allocations: 24 kB / 331 MB, free: 456 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.1418, allocations: 20 kB / 331 MB, free: 436 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1419, allocations: 67.73 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1421, allocations: 155.2 kB / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.1426, allocations: 362.9 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1426, allocations: 7.938 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1426, allocations: 0 / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1426, allocations: 0 / 331.6 MB, free: 15.84 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.001541/0.1441, allocations: 0.6459 MB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1442, allocations: 8.031 kB / 332.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1443, allocations: 32.56 kB / 332.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.1448, allocations: 280.6 kB / 332.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.1448, allocations: 24.94 kB / 332.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.1449, allocations: 24.38 kB / 332.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.1457, allocations: 303.7 kB / 332.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1457, allocations: 0 / 332.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.1457, allocations: 15.94 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1458, allocations: 4 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.1466, allocations: 249.6 kB / 333.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1487, allocations: 1.101 MB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008371/0.1495, allocations: 214.6 kB / 334.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.1498, allocations: 88.8 kB / 334.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.1499, allocations: 4 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.1505, allocations: 165.9 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.1505, allocations: 0 / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002224/0.1527, allocations: 0.5108 MB / 335.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1529, allocations: 110.8 kB / 335.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.1533, allocations: 286.5 kB / 335.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.1533, allocations: 33.7 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.1536, allocations: 191.6 kB / 335.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.1537, allocations: 43.39 kB / 335.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1538, allocations: 57.84 kB / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.154, allocations: 330.8 kB / 336.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1544, allocations: 96.09 kB / 336.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1548, allocations: 206.1 kB / 336.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.1555, allocations: 293.5 kB / 336.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.1555, allocations: 7.938 kB / 336.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001251/0.1568, allocations: 419.7 kB / 337.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.1568, allocations: 37.69 kB / 337.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1568, allocations: 4.094 kB / 337.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.1572, allocations: 80.69 kB / 337.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1575, allocations: 43.95 kB / 337.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.1601, allocations: 1.593 MB / 339 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.1605, allocations: 51.66 kB / 339.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1605, allocations: 8 kB / 339.1 MB, free: 7.785 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 (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 (23): * Single equations (assignments): 21 * 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.00022/0.1608, allocations: 157.6 kB / 339.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1608, allocations: 31.59 kB / 339.3 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.1609, allocations: 33.7 kB / 339.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1609, allocations: 0 / 339.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1609, allocations: 0 / 339.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1609, allocations: 0 / 339.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.1613, allocations: 305.3 kB / 339.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1613, allocations: 0 / 339.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1615, allocations: 15.98 kB / 339.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.1618, allocations: 72.8 kB / 339.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1618, allocations: 4 kB / 339.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.1641, allocations: 1.578 MB / 341.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1642, allocations: 0 / 341.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1653, allocations: 309.5 kB / 341.6 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1654, allocations: 120.7 kB / 341.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.1655, allocations: 0 / 341.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.1657, allocations: 31.95 kB / 341.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.1659, allocations: 19.97 kB / 341.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1659, allocations: 4 kB / 341.8 MB, free: 4.887 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1661, allocations: 206 kB / 342 MB, free: 4.684 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1661, allocations: 4 kB / 342 MB, free: 4.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.1666, allocations: 75.84 kB / 342 MB, free: 4.605 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 (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.000188/0.1668, allocations: 103.2 kB / 342.1 MB, free: 4.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1679, allocations: 407.1 kB / 342.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1679, allocations: 0 / 342.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.1684, allocations: 227.1 kB / 342.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1687, allocations: 48.73 kB / 342.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1701, allocations: 0.5463 MB / 343.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1705, allocations: 0.756 MB / 344.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1707, allocations: 22.3 kB / 344.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.1707, allocations: 15.44 kB / 344.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1707, allocations: 4 kB / 344.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Templates: time 0.009807/0.1806, allocations: 3.794 MB / 347.9 MB, free: 14.61 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (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) 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