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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001826/0.001826, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 94.56 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.547e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.4314, allocations: 78.24 MB / 448.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4317, allocations: 71.73 kB / 448.3 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.448, allocations: 5.749 MB / 454.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.448, allocations: 0 / 454.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4481, allocations: 4 kB / 454.1 MB, free: 10.07 MB / 330.7 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.0009445/0.449, allocations: 0.5736 MB / 454.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4491, allocations: 8.031 kB / 454.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.4492, allocations: 31.62 kB / 454.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4495, allocations: 275.5 kB / 455 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.4495, allocations: 14.81 kB / 455 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.4496, allocations: 24.75 kB / 455 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.45, allocations: 256.5 kB / 455.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.45, allocations: 4 kB / 455.3 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.4501, allocations: 18.05 kB / 455.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4501, allocations: 4 kB / 455.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.4504, allocations: 171.8 kB / 455.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.4522, allocations: 1.117 MB / 456.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.4527, allocations: 138.2 kB / 456.7 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4528, allocations: 54.8 kB / 456.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.4529, allocations: 8.25 kB / 456.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.4531, allocations: 133.1 kB / 456.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.4532, allocations: 0 / 456.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007583/0.4539, allocations: 198.6 kB / 457.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.454, allocations: 110.8 kB / 457.2 MB, free: 7.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.4543, allocations: 246.2 kB / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.4544, allocations: 33.2 kB / 457.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4545, allocations: 196 kB / 457.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.4546, allocations: 50.38 kB / 457.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4546, allocations: 3.562 kB / 457.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4548, allocations: 325.8 kB / 458 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4549, allocations: 61.84 kB / 458.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.4551, allocations: 166.2 kB / 458.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.4553, allocations: 107.3 kB / 458.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4553, allocations: 4 kB / 458.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007783/0.4561, allocations: 340 kB / 458.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.4562, allocations: 36.64 kB / 458.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4562, allocations: 4 kB / 458.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.4564, allocations: 53.27 kB / 458.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4567, allocations: 59.12 kB / 458.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.4584, allocations: 1.513 MB / 460.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.4587, allocations: 59.72 kB / 460.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.4588, allocations: 16 kB / 460.4 MB, free: 3.977 MB / 330.7 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 () * 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.0001039/0.4589, allocations: 117 kB / 460.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.4589, allocations: 23.72 kB / 460.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.459, allocations: 29.83 kB / 460.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.459, allocations: 3.984 kB / 460.6 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.459, allocations: 3.953 kB / 460.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.459, allocations: 12.17 kB / 460.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.4593, allocations: 305.3 kB / 460.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4593, allocations: 0 / 460.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4595, allocations: 23.97 kB / 460.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.4596, allocations: 64.77 kB / 461 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4596, allocations: 0 / 461 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.4611, allocations: 1.492 MB / 462.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4611, allocations: 3.953 kB / 462.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.4616, allocations: 238.1 kB / 462.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4618, allocations: 116.8 kB / 462.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4618, allocations: 7.984 kB / 462.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4621, allocations: 31.97 kB / 462.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4622, allocations: 24.16 kB / 462.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4622, allocations: 11.98 kB / 462.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002234/0.4625, allocations: 195.1 kB / 463.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4625, allocations: 0 / 463.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.4629, allocations: 83.84 kB / 463.2 MB, free: 0.9883 MB / 330.7 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) * 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.0001976/0.4631, allocations: 96.19 kB / 463.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.4638, allocations: 346.1 kB / 463.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4638, allocations: 0 / 463.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.464, allocations: 186.5 kB / 463.8 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4643, allocations: 37.39 kB / 463.8 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.465, allocations: 281.1 kB / 464.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4654, allocations: 0.7599 MB / 464.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.4655, allocations: 30.05 kB / 464.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4656, allocations: 23.38 kB / 464.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4656, allocations: 0 / 464.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of Templates: time 0.007581/0.4731, allocations: 3.65 MB / 468.6 MB, free: 11.49 MB / 346.7 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