Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008899/0.0008899, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008595/0.0008595, allocations: 161.1 kB / 24.91 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9588/0.9588, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.983e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003295/0.003325, allocations: 2.876 MB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.004244, allocations: 0.7243 MB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004359, allocations: 11.94 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004492, allocations: 39.58 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004634, allocations: 107.1 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.004839, allocations: 99.77 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.005137, allocations: 402.3 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.005289, allocations: 94.27 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.005562, allocations: 231.4 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.005709, allocations: 139.6 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.005746, allocations: 36 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.005781, allocations: 40 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.005833, allocations: 75.69 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.005917, allocations: 123.7 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.006138, allocations: 247.1 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.006141, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006142, allocations: 4 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006146, allocations: 0 / 278.6 MB, free: 11.8 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0005825/0.006728, allocations: 0.5444 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.006758, allocations: 11.98 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.006819, allocations: 44.91 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.007019, allocations: 193.2 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.007036, allocations: 20.88 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.00707, allocations: 24.38 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.007312, allocations: 244.7 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.00732, allocations: 192 / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007337, allocations: 16.36 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.007344, allocations: 7.938 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.007433, allocations: 67.41 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.008248, allocations: 0.7776 MB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.008436, allocations: 94.41 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.008474, allocations: 36.84 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.008493, allocations: 4 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.00865, allocations: 169.2 kB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.008651, allocations: 0 / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003674/0.009018, allocations: 166.4 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.009068, allocations: 110.8 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.009207, allocations: 240.8 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.009228, allocations: 33.7 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.009306, allocations: 180 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.009336, allocations: 51.58 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.009392, allocations: 53.86 kB / 281.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.009483, allocations: 338.7 kB / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.009533, allocations: 49.92 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.009634, allocations: 192.7 kB / 282.3 MB, free: 7.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.009766, allocations: 170.9 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009768, allocations: 0 / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002445/0.01001, allocations: 240.8 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.01005, allocations: 41.69 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01005, allocations: 0 / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.01023, allocations: 52.75 kB / 282.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01034, allocations: 52.09 kB / 282.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007393/0.01108, allocations: 1.262 MB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01119, allocations: 43.81 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.0112, allocations: 8 kB / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 8.959e-05/0.01129, allocations: 129.8 kB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.01131, allocations: 23.92 kB / 284.3 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01134, allocations: 29.77 kB / 284.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01134, allocations: 0 / 284.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.01134, allocations: 0 / 284.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01135, allocations: 3.938 kB / 284.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01146, allocations: 153.7 kB / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01146, allocations: 0 / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.01154, allocations: 27.98 kB / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.01167, allocations: 52.81 kB / 284.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01168, allocations: 7.922 kB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/0.01229, allocations: 1.247 MB / 285.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01229, allocations: 0 / 285.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01249, allocations: 180.8 kB / 286 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.01251, allocations: 27.78 kB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.01253, allocations: 0 / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.0126, allocations: 23.98 kB / 286 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.01265, allocations: 19.95 kB / 286 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.01266, allocations: 8 kB / 286 MB, free: 3.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.752e-05/0.01271, allocations: 74.78 kB / 286.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 286.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.0129, allocations: 75.84 kB / 286.2 MB, free: 3.621 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001069/0.013, allocations: 96.27 kB / 286.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.0133, allocations: 303.5 kB / 286.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.0133, allocations: 0 / 286.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01342, allocations: 171.3 kB / 286.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01358, allocations: 51.7 kB / 286.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.01458, allocations: 0.5597 MB / 287.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.01463, allocations: 88.17 kB / 287.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.01471, allocations: 22.3 kB / 287.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01483, allocations: 95.34 kB / 287.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01483, allocations: 0 / 287.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of Templates: time 0.1016/0.1164, allocations: 4.171 MB / 291.7 MB, free: 25.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7503802739083767]