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.001554/0.001554, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001405/0.001405, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.044/1.044, allocations: 173.4 MB / 201.1 MB, free: 9.336 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 2.004e-06/2.004e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.006e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003313/0.003343, allocations: 2.876 MB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004458, allocations: 0.7089 MB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.004649, allocations: 4 kB / 271.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.004794, allocations: 43.52 kB / 271.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.004955, allocations: 107.1 kB / 271.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.005243, allocations: 119.8 kB / 271.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.005603, allocations: 398.3 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.005792, allocations: 95.58 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.00608, allocations: 227.4 kB / 272.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.006232, allocations: 127.7 kB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.006275, allocations: 36 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.006312, allocations: 40 kB / 272.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.006366, allocations: 83.67 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.006466, allocations: 111.7 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.006742, allocations: 247.1 kB / 273.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006745, allocations: 4 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006746, allocations: 0 / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.006754, allocations: 0 / 273.2 MB, free: 1.18 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.0008235/0.007577, allocations: 0.6536 MB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.007615, allocations: 12.03 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.007703, allocations: 64.69 kB / 273.9 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.00798, allocations: 233 kB / 274.2 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.007997, allocations: 16.88 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.008039, allocations: 28.36 kB / 274.2 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.008428, allocations: 271.4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008442, allocations: 192 / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.008463, allocations: 8.375 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.008472, allocations: 11.94 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.008635, allocations: 102.9 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.00975, allocations: 1.044 MB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.01007, allocations: 115.1 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.01013, allocations: 35.67 kB / 275.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.01016, allocations: 7.984 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.01032, allocations: 142 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01032, allocations: 0 / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005862/0.0109, allocations: 249 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.01095, allocations: 85.09 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01115, allocations: 296.2 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01117, allocations: 33.7 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01127, allocations: 246.8 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.0113, allocations: 43.62 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.01137, allocations: 59.31 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.01158, allocations: 0.5039 MB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.01166, allocations: 53.92 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.0118, allocations: 215.8 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01198, allocations: 209.8 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01198, allocations: 0 / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003574/0.01234, allocations: 300.5 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.01239, allocations: 33.7 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01239, allocations: 7.922 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.01261, allocations: 55.84 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01273, allocations: 51.92 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009849/0.01371, allocations: 1.782 MB / 280.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.01384, allocations: 31.83 kB / 280.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.01386, allocations: 12 kB / 280.2 MB, free: 9.656 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 0.0001086/0.01397, allocations: 176.5 kB / 280.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.014, allocations: 27.8 kB / 280.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.01402, allocations: 17.78 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01403, allocations: 15.95 kB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01403, allocations: 0 / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01403, allocations: 0 / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.01419, allocations: 216.5 kB / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01419, allocations: 0 / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.01427, allocations: 27.97 kB / 280.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.01442, allocations: 55.59 kB / 280.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01443, allocations: 0 / 280.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.01541, allocations: 1.763 MB / 282.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01542, allocations: 4.125 kB / 282.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.01572, allocations: 231.7 kB / 282.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.01575, allocations: 19.86 kB / 282.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01577, allocations: 7.938 kB / 282.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.01584, allocations: 19.98 kB / 282.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.0159, allocations: 15.97 kB / 282.8 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01591, allocations: 11.95 kB / 282.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01602, allocations: 209.1 kB / 283 MB, free: 6.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01602, allocations: 0 / 283 MB, free: 6.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01626, allocations: 67.83 kB / 283 MB, free: 6.586 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 0.0001194/0.01638, allocations: 111.2 kB / 283.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.01677, allocations: 365.7 kB / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01677, allocations: 0 / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01691, allocations: 213.9 kB / 283.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01715, allocations: 40.47 kB / 283.7 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.01866, allocations: 0.6275 MB / 284.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.01872, allocations: 80.31 kB / 284.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.01878, allocations: 22.3 kB / 284.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.01884, allocations: 24.5 kB / 284.5 MB, free: 5 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01884, allocations: 4 kB / 284.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of Templates: time 0.006682/0.02552, allocations: 3.778 MB / 288.3 MB, free: 1.27 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 -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: 3.0389471100643277]