Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 143.8 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.005/1.005, allocations: 173.4 MB / 201.5 MB, free: 8.246 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.285e-05, allocations: 5.766 kB / 268.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003415/0.003438, allocations: 2.876 MB / 271.4 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004787, allocations: 0.7192 MB / 272.2 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.004934, allocations: 11.94 kB / 272.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.005095, allocations: 47.56 kB / 272.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.005264, allocations: 103.1 kB / 272.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.005523, allocations: 119.7 kB / 272.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.005847, allocations: 406.3 kB / 272.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.006011, allocations: 90.23 kB / 272.9 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.006277, allocations: 231.4 kB / 273.1 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.006425, allocations: 131.7 kB / 273.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.006474, allocations: 36 kB / 273.3 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.351e-05/0.006508, allocations: 40 kB / 273.3 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.006559, allocations: 79.69 kB / 273.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.006648, allocations: 115.7 kB / 273.5 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.006891, allocations: 247.2 kB / 273.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006893, allocations: 0 / 273.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006894, allocations: 0 / 273.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006899, allocations: 0 / 273.8 MB, free: 4.5 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000671/0.00757, allocations: 0.5366 MB / 274.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.0076, allocations: 12.03 kB / 274.3 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.007658, allocations: 40.91 kB / 274.4 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.007872, allocations: 198.2 kB / 274.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.007889, allocations: 16.88 kB / 274.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.007922, allocations: 20.38 kB / 274.6 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.008233, allocations: 261.6 kB / 274.8 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008244, allocations: 4.125 kB / 274.9 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.008263, allocations: 12.38 kB / 274.9 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.00827, allocations: 7.938 kB / 274.9 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.008366, allocations: 63.47 kB / 274.9 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.009268, allocations: 0.8216 MB / 275.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.00947, allocations: 94.41 kB / 275.8 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.009504, allocations: 24.84 kB / 275.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.009522, allocations: 4 kB / 275.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.009651, allocations: 126.7 kB / 276 MB, free: 2.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.009652, allocations: 4 kB / 276 MB, free: 2.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004274/0.01008, allocations: 218.2 kB / 276.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.01011, allocations: 77.11 kB / 276.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.01024, allocations: 229 kB / 276.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.01026, allocations: 29.7 kB / 276.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.01033, allocations: 191.9 kB / 276.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01036, allocations: 43.67 kB / 276.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.01041, allocations: 45.69 kB / 276.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.01049, allocations: 330.7 kB / 277.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.01053, allocations: 57.92 kB / 277.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.72e-05/0.01062, allocations: 162.9 kB / 277.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01074, allocations: 171.8 kB / 277.5 MB, free: 420 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01075, allocations: 0 / 277.5 MB, free: 420 kB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00026/0.01101, allocations: 245 kB / 277.8 MB, free: 156 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.01104, allocations: 37.77 kB / 277.8 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01105, allocations: 7.938 kB / 277.8 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.01122, allocations: 44.83 kB / 277.9 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.01138, allocations: 60.06 kB / 277.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/0.01231, allocations: 1.206 MB / 279.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01243, allocations: 47.94 kB / 279.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01244, allocations: 4 kB / 279.2 MB, free: 14.64 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.31e-05/0.01253, allocations: 129.8 kB / 279.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.01255, allocations: 15.98 kB / 279.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.01257, allocations: 21.72 kB / 279.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01258, allocations: 3.984 kB / 279.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01258, allocations: 0 / 279.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01258, allocations: 7.984 kB / 279.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.0127, allocations: 149.7 kB / 279.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0127, allocations: 4 kB / 279.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.0128, allocations: 27.97 kB / 279.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.01291, allocations: 48.66 kB / 279.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01292, allocations: 4 kB / 279.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005653/0.01349, allocations: 1.194 MB / 280.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01349, allocations: 0 / 280.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.0137, allocations: 177.9 kB / 280.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.01372, allocations: 15.86 kB / 281 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.01374, allocations: 8 kB / 281 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.01381, allocations: 15.98 kB / 281 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.01386, allocations: 15.97 kB / 281 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.01387, allocations: 0 / 281 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.01392, allocations: 78.78 kB / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01392, allocations: 0 / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000191/0.01411, allocations: 67.89 kB / 281.1 MB, free: 12.54 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 9.494e-05/0.01421, allocations: 88.44 kB / 281.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.01448, allocations: 292 kB / 281.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01449, allocations: 4 kB / 281.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.01458, allocations: 148.4 kB / 281.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.01474, allocations: 64.31 kB / 281.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.01596, allocations: 0.6221 MB / 282.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.016, allocations: 80.27 kB / 282.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.01607, allocations: 26.28 kB / 282.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.0162, allocations: 99.34 kB / 282.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0162, allocations: 0 / 282.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Templates: time 0.005823/0.02202, allocations: 3.964 MB / 286.5 MB, free: 7.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.710844886954874]