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.00094/0.00094, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001043/0.001043, allocations: 170.2 kB / 25.69 MB, free: 8.453 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.8694/0.8694, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.142e-06/1.142e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.505e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002552/0.002567, allocations: 2.724 MB / 254.3 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.003519, allocations: 0.6862 MB / 255 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003627, allocations: 4 kB / 255 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003756, allocations: 51.5 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.003904, allocations: 99.12 kB / 255.1 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.004122, allocations: 87.81 kB / 255.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.004424, allocations: 398.1 kB / 255.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.00457, allocations: 89.92 kB / 255.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.004775, allocations: 219.4 kB / 255.9 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.004909, allocations: 123.7 kB / 256 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.004949, allocations: 32 kB / 256 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.19e-05/0.004981, allocations: 36 kB / 256.1 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.005035, allocations: 79.67 kB / 256.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.005122, allocations: 115.7 kB / 256.3 MB, free: 2.512 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.005343, allocations: 247.1 kB / 256.5 MB, free: 2.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005345, allocations: 0 / 256.5 MB, free: 2.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005346, allocations: 0 / 256.5 MB, free: 2.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.00535, allocations: 4 kB / 256.5 MB, free: 2.266 MB / 234.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.0006294/0.005979, allocations: 0.5415 MB / 257 MB, free: 1.695 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.006009, allocations: 8.031 kB / 257.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.006067, allocations: 44.91 kB / 257.1 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.006261, allocations: 186.2 kB / 257.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.006279, allocations: 20.88 kB / 257.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.006306, allocations: 24.38 kB / 257.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.006582, allocations: 275.4 kB / 257.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006591, allocations: 4.188 kB / 257.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.006607, allocations: 8.359 kB / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006615, allocations: 11.94 kB / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.006727, allocations: 73.41 kB / 257.7 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.007506, allocations: 0.7975 MB / 258.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.007652, allocations: 90.41 kB / 258.6 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.007689, allocations: 28.84 kB / 258.6 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.007707, allocations: 4 kB / 258.6 MB, free: 0 / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.007854, allocations: 161.3 kB / 258.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.007855, allocations: 0 / 258.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004904/0.008346, allocations: 202.2 kB / 259 MB, free: 15.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.008387, allocations: 106.8 kB / 259.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.008522, allocations: 240.9 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.00854, allocations: 29.7 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.008624, allocations: 195.9 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.008648, allocations: 39.67 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.008705, allocations: 53.92 kB / 259.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.008779, allocations: 330.8 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.008826, allocations: 49.92 kB / 260 MB, free: 14.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.008928, allocations: 215.2 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.009059, allocations: 197 kB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.009062, allocations: 4 kB / 260.4 MB, free: 13.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002669/0.009329, allocations: 257.4 kB / 260.6 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.009355, allocations: 38.09 kB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00936, allocations: 8 kB / 260.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.009579, allocations: 68.8 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.009672, allocations: 47.91 kB / 260.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.01053, allocations: 1.304 MB / 262.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01066, allocations: 39.83 kB / 262.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01068, allocations: 8 kB / 262.2 MB, free: 12.11 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 8.186e-05/0.01076, allocations: 133.7 kB / 262.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.01078, allocations: 15.98 kB / 262.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.01081, allocations: 21.77 kB / 262.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01081, allocations: 11.94 kB / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.01081, allocations: 0 / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01082, allocations: 0 / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01092, allocations: 137.8 kB / 262.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01093, allocations: 0 / 262.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.01096, allocations: 11.98 kB / 262.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/0.01111, allocations: 64.8 kB / 262.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01113, allocations: 8.109 kB / 262.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006844/0.01181, allocations: 1.292 MB / 263.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01181, allocations: 0 / 263.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01201, allocations: 162.1 kB / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.01206, allocations: 19.84 kB / 264 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01208, allocations: 8.031 kB / 264 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.01216, allocations: 15.98 kB / 264 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.01221, allocations: 19.97 kB / 264.1 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01222, allocations: 7.984 kB / 264.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.01227, allocations: 78.78 kB / 264.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01227, allocations: 0 / 264.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01248, allocations: 91.72 kB / 264.2 MB, free: 9.887 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 8.207e-05/0.01256, allocations: 80.42 kB / 264.3 MB, free: 9.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.01286, allocations: 315.6 kB / 264.6 MB, free: 9.461 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.01287, allocations: 8 kB / 264.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.01298, allocations: 176 kB / 264.8 MB, free: 9.266 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.01312, allocations: 48.64 kB / 264.8 MB, free: 9.219 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.01378, allocations: 429.2 kB / 265.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.01382, allocations: 84.31 kB / 265.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.01388, allocations: 26.28 kB / 265.4 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.014, allocations: 95.34 kB / 265.5 MB, free: 8.551 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.014, allocations: 0 / 265.5 MB, free: 8.551 MB / 250.7 MB Notification: Performance of Templates: time 0.005844/0.01984, allocations: 4.269 MB / 269.7 MB, free: 4.312 MB / 250.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.61102962680161]