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.001226/0.001226, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001068/0.001068, allocations: 169.2 kB / 25.61 MB, free: 8.578 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.9932/0.9932, allocations: 177 MB / 205.9 MB, free: 4.406 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.633e-06/1.633e-06, allocations: 0 / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.29e-05, allocations: 4.797 kB / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006921/0.006954, allocations: 2.878 MB / 277 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.008144, allocations: 0.696 MB / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.008291, allocations: 7.938 kB / 277.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.008429, allocations: 50.03 kB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.008612, allocations: 111.1 kB / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.008846, allocations: 101.7 kB / 278 MB, free: 388 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.00923, allocations: 398.4 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.009404, allocations: 83.66 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.009749, allocations: 239.3 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.009931, allocations: 131.6 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.009977, allocations: 40.5 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.01002, allocations: 36.66 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.01008, allocations: 83.67 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.01018, allocations: 115.8 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.01047, allocations: 251.1 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01047, allocations: 0 / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01047, allocations: 0 / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01047, allocations: 0 / 279.3 MB, free: 15.02 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.0007932/0.01127, allocations: 0.669 MB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.0113, allocations: 16.03 kB / 280 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.01138, allocations: 52.75 kB / 280.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.01165, allocations: 236 kB / 280.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.01168, allocations: 20.88 kB / 280.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.01172, allocations: 28.36 kB / 280.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.01205, allocations: 236.7 kB / 280.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01206, allocations: 192 / 280.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01209, allocations: 12.38 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.01209, allocations: 7.938 kB / 280.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.01225, allocations: 87.36 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.01365, allocations: 0.9584 MB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.01394, allocations: 111 kB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.01401, allocations: 31.67 kB / 281.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.01403, allocations: 4 kB / 281.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.01426, allocations: 187.3 kB / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.01426, allocations: 0 / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005873/0.01485, allocations: 205 kB / 282.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.0149, allocations: 106.8 kB / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.01512, allocations: 296.1 kB / 282.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.01515, allocations: 29.7 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01529, allocations: 254.7 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.01533, allocations: 43.62 kB / 282.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.01542, allocations: 59.52 kB / 282.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01558, allocations: 0.5078 MB / 283.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.01565, allocations: 53.92 kB / 283.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.01581, allocations: 225.5 kB / 283.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.01601, allocations: 212.4 kB / 283.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01602, allocations: 0 / 283.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004152/0.01643, allocations: 284.3 kB / 284.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.01647, allocations: 33.7 kB / 284.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01647, allocations: 0 / 284.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.01671, allocations: 63.88 kB / 284.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.01687, allocations: 51.91 kB / 284.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.018, allocations: 1.824 MB / 286.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.01817, allocations: 31.88 kB / 286.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.01819, allocations: 15.98 kB / 286.2 MB, free: 7.539 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 0.0001129/0.0183, allocations: 176.5 kB / 286.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.01834, allocations: 35.8 kB / 286.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.01838, allocations: 25.77 kB / 286.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01838, allocations: 0 / 286.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01838, allocations: 0 / 286.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01839, allocations: 4 kB / 286.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.01855, allocations: 177.1 kB / 286.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01855, allocations: 0 / 286.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01866, allocations: 27.97 kB / 286.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.01884, allocations: 59.58 kB / 286.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01885, allocations: 0 / 286.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009802/0.01983, allocations: 1.824 MB / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01983, allocations: 0 / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.02014, allocations: 218.1 kB / 288.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.02018, allocations: 27.78 kB / 288.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.0202, allocations: 11.94 kB / 288.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.0203, allocations: 15.98 kB / 288.8 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.02036, allocations: 23.95 kB / 288.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.02037, allocations: 7.938 kB / 288.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.02048, allocations: 193.1 kB / 289 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02048, allocations: 0 / 289 MB, free: 4.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.02079, allocations: 79.88 kB / 289.1 MB, free: 4.457 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.00012/0.02091, allocations: 103.4 kB / 289.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.02127, allocations: 370.2 kB / 289.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02128, allocations: 0 / 289.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.02145, allocations: 232.8 kB / 289.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.02173, allocations: 54.17 kB / 289.9 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.02307, allocations: 0.5456 MB / 290.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.02312, allocations: 84.31 kB / 290.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.02322, allocations: 30.27 kB / 290.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.02337, allocations: 122.2 kB / 290.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02337, allocations: 0 / 290.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of Templates: time 0.007538/0.03091, allocations: 4.418 MB / 295.1 MB, free: 14.5 MB / 282.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.8072721753269434]