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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 169.7 kB / 25.33 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9466/0.9466, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.833e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002842/0.00287, allocations: 2.746 MB / 253.8 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003991, allocations: 0.6709 MB / 254.5 MB, free: 136 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.004131, allocations: 4 kB / 254.5 MB, free: 132 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.004269, allocations: 51.5 kB / 254.5 MB, free: 80 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.004455, allocations: 95.27 kB / 254.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.004721, allocations: 87.81 kB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.005076, allocations: 390.3 kB / 255.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.005253, allocations: 87.3 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.005485, allocations: 223.4 kB / 255.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.005636, allocations: 123.7 kB / 255.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.005687, allocations: 36 kB / 255.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.042e-05/0.005727, allocations: 32 kB / 255.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.005787, allocations: 83.67 kB / 255.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.005889, allocations: 115.7 kB / 255.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.006155, allocations: 243.1 kB / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006159, allocations: 0 / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.00616, allocations: 0 / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006165, allocations: 4 kB / 256 MB, free: 14.58 MB / 250.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.0008435/0.007009, allocations: 0.6584 MB / 256.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.007057, allocations: 12.03 kB / 256.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.007165, allocations: 56.7 kB / 256.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.007458, allocations: 213 kB / 257 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.007478, allocations: 20.81 kB / 257 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.007511, allocations: 32.38 kB / 257 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.007888, allocations: 297.1 kB / 257.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007897, allocations: 192 / 257.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.007919, allocations: 16.31 kB / 257.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007928, allocations: 7.938 kB / 257.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.008354, allocations: 102.9 kB / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.009334, allocations: 1.004 MB / 258.4 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.00953, allocations: 107.2 kB / 258.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.009587, allocations: 39.67 kB / 258.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.009607, allocations: 3.984 kB / 258.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.009766, allocations: 179.5 kB / 258.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.009767, allocations: 0 / 258.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000629/0.0104, allocations: 244.9 kB / 259 MB, free: 11.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.01044, allocations: 106.8 kB / 259.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01063, allocations: 308.2 kB / 259.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.01065, allocations: 29.64 kB / 259.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01076, allocations: 254.7 kB / 259.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.01079, allocations: 39.7 kB / 259.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.01085, allocations: 55.55 kB / 259.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.01097, allocations: 0.5079 MB / 260.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.01105, allocations: 61.91 kB / 260.3 MB, free: 9.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01118, allocations: 264.5 kB / 260.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.01135, allocations: 240.7 kB / 260.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01136, allocations: 0 / 260.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003694/0.01173, allocations: 320.1 kB / 261.1 MB, free: 8.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.01176, allocations: 40.66 kB / 261.2 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01176, allocations: 4 kB / 261.2 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.01202, allocations: 76.03 kB / 261.3 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01213, allocations: 43.92 kB / 261.3 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.01324, allocations: 1.917 MB / 263.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.01338, allocations: 43.84 kB / 263.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.0134, allocations: 15.98 kB / 263.3 MB, free: 6.707 MB / 250.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 (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 9.703e-05/0.0135, allocations: 172.5 kB / 263.4 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.01353, allocations: 27.8 kB / 263.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.01355, allocations: 25.77 kB / 263.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01356, allocations: 0 / 263.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01356, allocations: 0 / 263.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01356, allocations: 4 kB / 263.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.01371, allocations: 212.4 kB / 263.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01371, allocations: 0 / 263.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01375, allocations: 19.92 kB / 263.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.01394, allocations: 71.62 kB / 263.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01395, allocations: 7.938 kB / 263.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.01517, allocations: 1.897 MB / 265.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01518, allocations: 0 / 265.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.01544, allocations: 199.8 kB / 265.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.0155, allocations: 39.77 kB / 265.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.01552, allocations: 7.938 kB / 265.9 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.0156, allocations: 24.02 kB / 266 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.01567, allocations: 19.95 kB / 266 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01569, allocations: 4 kB / 266 MB, free: 3.781 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.0158, allocations: 209.1 kB / 266.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0158, allocations: 0 / 266.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.01607, allocations: 83.84 kB / 266.3 MB, free: 3.496 MB / 250.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 (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 9.772e-05/0.01617, allocations: 99.25 kB / 266.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.01659, allocations: 393.5 kB / 266.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.0166, allocations: 3.938 kB / 266.8 MB, free: 2.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.01676, allocations: 233.4 kB / 267 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01697, allocations: 45.08 kB / 267 MB, free: 2.676 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.01777, allocations: 439 kB / 267.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.01782, allocations: 84.31 kB / 267.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.355e-05/0.01789, allocations: 26.28 kB / 267.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.01794, allocations: 20.5 kB / 267.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01794, allocations: 0 / 267.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of Templates: time 0.006696/0.02464, allocations: 4.317 MB / 271.9 MB, free: 13.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7890093489550054]