Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 172.2 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 100.3 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004746, allocations: 11.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4008, allocations: 81.23 MB / 484 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.4013, allocations: 81.8 kB / 484.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4203, allocations: 6.46 MB / 490.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4204, allocations: 0 / 490.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.364e-05/0.4204, allocations: 7.938 kB / 490.5 MB, free: 8.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00153/0.422, allocations: 0.6316 MB / 491.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.422, allocations: 8.031 kB / 491.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.4222, allocations: 32.56 kB / 491.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.4228, allocations: 308.1 kB / 491.5 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.4229, allocations: 20.88 kB / 491.5 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.4229, allocations: 24.38 kB / 491.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.4238, allocations: 336.2 kB / 491.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4238, allocations: 192 / 491.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.4239, allocations: 15.94 kB / 491.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4239, allocations: 4 kB / 491.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.4247, allocations: 318 kB / 492.2 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.4269, allocations: 1.189 MB / 493.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.4278, allocations: 282.5 kB / 493.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.4281, allocations: 124.8 kB / 493.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.4281, allocations: 3.984 kB / 493.8 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.4287, allocations: 193.9 kB / 494 MB, free: 4.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.4287, allocations: 0 / 494 MB, free: 4.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002346/0.4311, allocations: 0.7341 MB / 494.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4311, allocations: 106.8 kB / 494.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.4315, allocations: 282.6 kB / 495.1 MB, free: 3.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4315, allocations: 37.7 kB / 495.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4317, allocations: 191.7 kB / 495.3 MB, free: 3.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.4317, allocations: 39.44 kB / 495.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.4318, allocations: 8 kB / 495.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4319, allocations: 334.8 kB / 495.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.4322, allocations: 120.6 kB / 495.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.4327, allocations: 222.5 kB / 496 MB, free: 2.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.4334, allocations: 346.2 kB / 496.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4334, allocations: 0 / 496.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001262/0.4347, allocations: 0.4957 MB / 496.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.4348, allocations: 41.77 kB / 496.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4348, allocations: 0 / 496.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.4352, allocations: 88.8 kB / 497 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4354, allocations: 51.91 kB / 497 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.438, allocations: 1.815 MB / 498.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.4384, allocations: 59.7 kB / 498.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.4384, allocations: 20.06 kB / 498.9 MB, free: 15.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.4387, allocations: 149.7 kB / 499.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.4387, allocations: 27.66 kB / 499.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.4388, allocations: 21.83 kB / 499.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4388, allocations: 4 kB / 499.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4388, allocations: 3.938 kB / 499.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4388, allocations: 0 / 499.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.4392, allocations: 325.4 kB / 499.5 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4392, allocations: 4 kB / 499.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4393, allocations: 35.91 kB / 499.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.4396, allocations: 80.81 kB / 499.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4397, allocations: 12.11 kB / 499.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.4417, allocations: 1.695 MB / 0.4895 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4418, allocations: 0 / 0.4895 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4428, allocations: 409.4 kB / 0.4899 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.4429, allocations: 96.92 kB / 0.49 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.443, allocations: 3.938 kB / 0.49 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4432, allocations: 47.95 kB / 0.4901 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.4433, allocations: 19.97 kB / 0.4901 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4433, allocations: 4 kB / 0.4901 GB, free: 12.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.4435, allocations: 202 kB / 0.4903 GB, free: 12.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4435, allocations: 4 kB / 0.4903 GB, free: 12.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.4439, allocations: 83.69 kB / 0.4904 GB, free: 12.14 MB / 378.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) * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.4441, allocations: 107.2 kB / 0.4905 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.4451, allocations: 459.5 kB / 0.4909 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4451, allocations: 0 / 0.4909 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.4456, allocations: 255 kB / 0.4911 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4459, allocations: 40.55 kB / 0.4912 GB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.447, allocations: 0.5687 MB / 0.4917 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.4474, allocations: 0.7637 MB / 0.4925 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.4476, allocations: 26.28 kB / 0.4925 GB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4477, allocations: 19.44 kB / 0.4925 GB, free: 9.82 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.4477, allocations: 0 / 0.4925 GB, free: 9.82 MB / 378.7 MB Notification: Performance of Templates: time 0.008679/0.4564, allocations: 3.708 MB / 0.4962 GB, free: 6.156 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches