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.002612/0.002612, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003113/0.003113, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.689/1.689, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.681e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00485/0.004887, allocations: 2.865 MB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.006368, allocations: 0.701 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.006529, allocations: 11.94 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.006708, allocations: 51.56 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.006958, allocations: 111 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.007253, allocations: 95.77 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.007775, allocations: 402.3 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.008009, allocations: 91.64 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.008448, allocations: 223.5 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.008698, allocations: 139.6 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.008765, allocations: 36 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.008836, allocations: 40 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.00893, allocations: 83.66 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.009092, allocations: 115.7 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.009687, allocations: 450.6 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00969, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009691, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.009698, allocations: 0 / 277.6 MB, free: 12.36 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.001259/0.01096, allocations: 0.6921 MB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01099, allocations: 11.98 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.01111, allocations: 52.75 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.01153, allocations: 244.1 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.01156, allocations: 16.88 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.01161, allocations: 24.38 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.01222, allocations: 315.9 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01223, allocations: 4.188 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01226, allocations: 8.375 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.01227, allocations: 11.94 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.01283, allocations: 221.9 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.01501, allocations: 1.098 MB / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.01561, allocations: 191.1 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.01583, allocations: 83.59 kB / 280.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.01585, allocations: 4 kB / 280.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.01626, allocations: 234.4 kB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.01626, allocations: 0 / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.00131/0.01757, allocations: 325 kB / 281.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.01766, allocations: 110.8 kB / 281.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.01809, allocations: 360.2 kB / 281.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.01812, allocations: 29.7 kB / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.01835, allocations: 250.8 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.01841, allocations: 51.64 kB / 281.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.01855, allocations: 67.55 kB / 282 MB, free: 7.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000304/0.01885, allocations: 0.5235 MB / 282.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.01911, allocations: 109.9 kB / 282.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.01956, allocations: 301.4 kB / 282.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.02008, allocations: 281.4 kB / 283.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.02008, allocations: 4 kB / 283.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008633/0.02095, allocations: 388.3 kB / 283.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.02099, allocations: 33.7 kB / 283.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.021, allocations: 4 kB / 283.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.02138, allocations: 67.89 kB / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.0216, allocations: 51.91 kB / 283.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.02377, allocations: 1.968 MB / 285.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.02403, allocations: 31.88 kB / 285.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.02406, allocations: 12 kB / 285.7 MB, free: 3.668 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.000238/0.02429, allocations: 204.4 kB / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.02435, allocations: 27.86 kB / 285.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.02441, allocations: 33.7 kB / 286 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.02441, allocations: 0 / 286 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02442, allocations: 4.031 kB / 286 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02442, allocations: 0 / 286 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.02477, allocations: 272.4 kB / 286.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.02478, allocations: 4.188 kB / 286.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.02494, allocations: 27.97 kB / 286.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.02522, allocations: 59.62 kB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.02524, allocations: 7.938 kB / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.02724, allocations: 1.949 MB / 288.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.02725, allocations: 0 / 288.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.02811, allocations: 366.8 kB / 288.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.02816, allocations: 27.78 kB / 288.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.0282, allocations: 11.94 kB / 288.7 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.02837, allocations: 15.98 kB / 288.7 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.02846, allocations: 27.95 kB / 288.7 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.02847, allocations: 0 / 288.7 MB, free: 452 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002479/0.02872, allocations: 241.1 kB / 289 MB, free: 212 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02872, allocations: 0 / 289 MB, free: 212 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02907, allocations: 71.84 kB / 289 MB, free: 140 kB / 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.0001525/0.02922, allocations: 115.4 kB / 289.1 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.03008, allocations: 469.5 kB / 289.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03008, allocations: 4 kB / 289.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.0305, allocations: 278 kB / 289.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.03083, allocations: 56.39 kB / 289.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.03257, allocations: 0.5612 MB / 290.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.03275, allocations: 150.9 kB / 290.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.03286, allocations: 22.28 kB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.03293, allocations: 28.5 kB / 290.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03293, allocations: 0 / 290.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Templates: time 0.009592/0.04252, allocations: 4.032 MB / 294.7 MB, free: 10.39 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.884256345918402]