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.001486/0.001486, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001244/0.001244, allocations: 168.3 kB / 25.61 MB, free: 8.586 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 1.024/1.024, allocations: 177.2 MB / 206.1 MB, free: 4.484 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 2.815e-06/2.815e-06, allocations: 4 kB / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.487e-05, allocations: 2.312 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002958/0.002983, allocations: 2.844 MB / 277.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.00435, allocations: 0.7352 MB / 277.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.00449, allocations: 6.469 kB / 277.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.004628, allocations: 47.5 kB / 277.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.004784, allocations: 107.1 kB / 278 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.005041, allocations: 113.8 kB / 278.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.005381, allocations: 406.3 kB / 278.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.005545, allocations: 87.61 kB / 278.6 MB, free: 112 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.00589, allocations: 235.4 kB / 278.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.006049, allocations: 123.7 kB / 278.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.006089, allocations: 44 kB / 279 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.006124, allocations: 36 kB / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.006181, allocations: 83.67 kB / 279.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.00627, allocations: 119.7 kB / 279.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006514, allocations: 239.1 kB / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006516, allocations: 0 / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006517, allocations: 0 / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.006522, allocations: 4 kB / 279.4 MB, free: 15.24 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.0007342/0.007256, allocations: 0.673 MB / 280.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.007289, allocations: 8.031 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.007358, allocations: 56.7 kB / 280.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007578, allocations: 229 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.007594, allocations: 16.88 kB / 280.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.007627, allocations: 24.38 kB / 280.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.007931, allocations: 263.3 kB / 280.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.007941, allocations: 192 / 280.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.007956, allocations: 8.375 kB / 280.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.007964, allocations: 11.94 kB / 280.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.008068, allocations: 83.36 kB / 280.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.009048, allocations: 1.052 MB / 281.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.009261, allocations: 107.1 kB / 281.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.009299, allocations: 31.61 kB / 282 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.009314, allocations: 4 kB / 282 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.00945, allocations: 149.9 kB / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.009452, allocations: 0 / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004869/0.009939, allocations: 241 kB / 282.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.009973, allocations: 81.11 kB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.01014, allocations: 296.1 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.01016, allocations: 25.7 kB / 282.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.01025, allocations: 242.8 kB / 283 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.01028, allocations: 47.61 kB / 283 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.01034, allocations: 55.3 kB / 283.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01045, allocations: 0.5078 MB / 283.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.01051, allocations: 57.92 kB / 283.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01061, allocations: 199.8 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01075, allocations: 209 kB / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01075, allocations: 0 / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003108/0.01106, allocations: 288.5 kB / 284.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.01109, allocations: 41.73 kB / 284.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01109, allocations: 0 / 284.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.01126, allocations: 51.66 kB / 284.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01137, allocations: 51.91 kB / 284.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.01251, allocations: 1.756 MB / 286.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01264, allocations: 39.95 kB / 286.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01265, allocations: 8 kB / 286.3 MB, free: 7.824 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 9.394e-05/0.01275, allocations: 180.4 kB / 286.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.01277, allocations: 27.8 kB / 286.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.0128, allocations: 25.77 kB / 286.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.0128, allocations: 4 kB / 286.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.0128, allocations: 0 / 286.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01281, allocations: 0 / 286.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.01294, allocations: 177.1 kB / 286.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01294, allocations: 0 / 286.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.01302, allocations: 27.98 kB / 286.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.01314, allocations: 47.66 kB / 286.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01315, allocations: 4 kB / 286.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007031/0.01385, allocations: 1.744 MB / 288.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01385, allocations: 0 / 288.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01412, allocations: 207.9 kB / 288.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.01414, allocations: 27.88 kB / 288.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.01416, allocations: 3.984 kB / 288.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.01424, allocations: 23.98 kB / 288.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.01429, allocations: 19.91 kB / 288.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.0143, allocations: 0 / 288.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.696e-05/0.01438, allocations: 197.1 kB / 289 MB, free: 4.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01438, allocations: 0 / 289 MB, free: 4.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.0146, allocations: 67.83 kB / 289 MB, free: 4.871 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.0001073/0.01471, allocations: 119.2 kB / 289.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.01501, allocations: 353.5 kB / 289.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01501, allocations: 0 / 289.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01513, allocations: 210 kB / 289.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01533, allocations: 53.27 kB / 289.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.01661, allocations: 0.6314 MB / 290.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.01665, allocations: 88.25 kB / 290.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.192e-05/0.01672, allocations: 22.3 kB / 290.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.01685, allocations: 118.2 kB / 290.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01685, allocations: 0 / 290.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of Templates: time 0.006232/0.02308, allocations: 4.144 MB / 294.8 MB, free: 15.1 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.9456579070538282]