Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001279/0.001279, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001461/0.001461, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8692/0.8692, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.157e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002537/0.002549, allocations: 2.857 MB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.003533, allocations: 0.7515 MB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003647, allocations: 8 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.003766, allocations: 43.56 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.003909, allocations: 107.1 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.004133, allocations: 123.7 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.00442, allocations: 398.3 kB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004555, allocations: 94.27 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.004809, allocations: 231.5 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.00494, allocations: 127.6 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.004977, allocations: 43.94 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.005009, allocations: 36 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.005054, allocations: 79.73 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.005133, allocations: 119.7 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.005341, allocations: 239.1 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.005342, allocations: 0 / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.005342, allocations: 0 / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.005346, allocations: 4 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005991/0.005945, allocations: 0.5522 MB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.005971, allocations: 8.031 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.006025, allocations: 40.91 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.006216, allocations: 190.2 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.006235, allocations: 28.88 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.006267, allocations: 28.36 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.006567, allocations: 249.7 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.006578, allocations: 4.172 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.006598, allocations: 8.375 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.006607, allocations: 11.94 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.006726, allocations: 67.41 kB / 279.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.007763, allocations: 0.8215 MB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.007984, allocations: 94.45 kB / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.008028, allocations: 28.84 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.008044, allocations: 4 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.00819, allocations: 122.8 kB / 281 MB, free: 9.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.008191, allocations: 0 / 281 MB, free: 9.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005085/0.0087, allocations: 214.3 kB / 281.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.008736, allocations: 81.11 kB / 281.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.008898, allocations: 236.9 kB / 281.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.008918, allocations: 29.7 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.009003, allocations: 184 kB / 281.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.009035, allocations: 39.69 kB / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.009103, allocations: 57.62 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.009196, allocations: 338.7 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.009253, allocations: 49.86 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.009361, allocations: 167 kB / 282.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.009508, allocations: 170.6 kB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.009511, allocations: 4 kB / 282.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003094/0.009821, allocations: 245.8 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.009844, allocations: 29.7 kB / 282.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.00985, allocations: 4 kB / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.01002, allocations: 48.89 kB / 282.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01016, allocations: 51.91 kB / 282.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007818/0.01094, allocations: 1.206 MB / 284.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.0111, allocations: 43.83 kB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.01112, allocations: 12 kB / 284.1 MB, free: 6.129 MB / 266.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 (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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.0112, allocations: 129.7 kB / 284.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01123, allocations: 15.97 kB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.01126, allocations: 29.72 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.01126, allocations: 0 / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01127, allocations: 0 / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01127, allocations: 7.984 kB / 284.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.0114, allocations: 137.7 kB / 284.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0114, allocations: 0 / 284.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.01149, allocations: 31.92 kB / 284.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.01161, allocations: 48.83 kB / 284.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01162, allocations: 0 / 284.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006398/0.01226, allocations: 1.194 MB / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01226, allocations: 0 / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.01252, allocations: 166 kB / 285.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.01255, allocations: 19.8 kB / 285.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01257, allocations: 11.94 kB / 285.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.01267, allocations: 19.97 kB / 285.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.01271, allocations: 15.97 kB / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01272, allocations: 4 kB / 285.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.01279, allocations: 74.78 kB / 286 MB, free: 4.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01279, allocations: 4.031 kB / 286 MB, free: 4.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000262/0.01305, allocations: 75.84 kB / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.657e-05/0.01313, allocations: 76.42 kB / 286.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.01341, allocations: 302.2 kB / 286.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.01342, allocations: 4.688 kB / 286.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.01353, allocations: 155.4 kB / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.0137, allocations: 52.34 kB / 286.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.01513, allocations: 0.6183 MB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.01518, allocations: 88.17 kB / 287.4 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.01527, allocations: 26.28 kB / 287.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.0154, allocations: 91.36 kB / 287.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0154, allocations: 7.938 kB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of Templates: time 0.006476/0.02187, allocations: 3.924 MB / 291.4 MB, free: 14.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.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.552619567140937]