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.001616/0.001616, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.00208/0.00208, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 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.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 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 0.002013/0.002013, allocations: 63.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 53.41 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.007474/0.293, allocations: 2.7 MB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.2955, allocations: 0.6973 MB / 435.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2958, allocations: 4 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.296, allocations: 43.52 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.2964, allocations: 111.2 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.2968, allocations: 95.84 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.2976, allocations: 386.5 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.2979, allocations: 90.61 kB / 436.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.2983, allocations: 159.4 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.2987, allocations: 147.2 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.2988, allocations: 44 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2989, allocations: 36 kB / 436.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.299, allocations: 87.62 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.2993, allocations: 139.3 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.3002, allocations: 438.1 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3002, allocations: 0 / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3002, allocations: 0 / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3002, allocations: 0 / 437.6 MB, free: 1.395 MB / 334.1 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.001948/0.3021, allocations: 0.5847 MB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.3022, allocations: 15.98 kB / 438.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3023, allocations: 36.7 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.3031, allocations: 241.8 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.3031, allocations: 20.88 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.3032, allocations: 24.38 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3043, allocations: 331.7 kB / 438.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3043, allocations: 0 / 438.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.3044, allocations: 8 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3044, allocations: 4 kB / 438.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.3056, allocations: 249.9 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.3091, allocations: 0.9501 MB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3102, allocations: 210.6 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.3107, allocations: 84.8 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3108, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/0.3115, allocations: 217.3 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.3115, allocations: 0 / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002454/0.314, allocations: 388.8 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3141, allocations: 110.8 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.3146, allocations: 264.9 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.3147, allocations: 29.7 kB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.3149, allocations: 200 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.315, allocations: 47.64 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3152, allocations: 53.92 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3154, allocations: 330.8 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.3159, allocations: 125.8 kB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.3167, allocations: 257.4 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3177, allocations: 277.7 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3178, allocations: 4 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001853/0.3196, allocations: 409.6 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.3197, allocations: 37.7 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3197, allocations: 3.938 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.3202, allocations: 64.72 kB / 443.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.3207, allocations: 55.91 kB / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.3239, allocations: 1.469 MB / 444.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.3244, allocations: 43.92 kB / 444.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3245, allocations: 12 kB / 444.6 MB, free: 9.809 MB / 350.1 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.0003283/0.3248, allocations: 157.3 kB / 444.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.3249, allocations: 19.86 kB / 444.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.325, allocations: 25.77 kB / 444.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.325, allocations: 192 / 444.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.325, allocations: 0 / 444.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.325, allocations: 3.984 kB / 444.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.3254, allocations: 233 kB / 445.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3254, allocations: 0 / 445.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.3257, allocations: 35.97 kB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.3261, allocations: 60.73 kB / 445.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.3262, allocations: 4 kB / 445.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.3291, allocations: 1.461 MB / 446.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3291, allocations: 0 / 446.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3311, allocations: 385.6 kB / 447 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3312, allocations: 31.75 kB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.3312, allocations: 4 kB / 447 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.3316, allocations: 27.97 kB / 447.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3317, allocations: 28.02 kB / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3318, allocations: 4 kB / 447.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.3321, allocations: 180.5 kB / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3321, allocations: 0 / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006595/0.3328, allocations: 79.84 kB / 447.4 MB, free: 6.922 MB / 350.1 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.0002249/0.333, allocations: 106.4 kB / 447.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3346, allocations: 415.6 kB / 447.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3346, allocations: 0 / 447.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.3353, allocations: 214.5 kB / 448.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.3359, allocations: 60.81 kB / 448.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.3402, allocations: 0.721 MB / 448.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3405, allocations: 146.9 kB / 449 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3406, allocations: 23.44 kB / 449 MB, free: 5.156 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3406, allocations: 0 / 449 MB, free: 5.156 MB / 350.1 MB Notification: Performance of Templates: time 0.0139/0.3545, allocations: 4.832 MB / 453.9 MB, free: 348 kB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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: 7.4183846190571785]