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.001803/0.001803, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002126/0.002126, allocations: 216.8 kB / 22.99 MB, free: 5.609 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.499/1.499, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.00183/0.00183, allocations: 67.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2745, allocations: 53.33 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00451/0.279, allocations: 2.91 MB / 432.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2805, allocations: 0.7597 MB / 433.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.2807, allocations: 7.938 kB / 433.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.2808, allocations: 43.56 kB / 433.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.281, allocations: 103.2 kB / 433.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2814, allocations: 115.8 kB / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.2818, allocations: 390.5 kB / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.282, allocations: 91.27 kB / 434.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.2823, allocations: 155.5 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2825, allocations: 167.2 kB / 434.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.2826, allocations: 40 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.2826, allocations: 40 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.2827, allocations: 71.75 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.2829, allocations: 171.1 kB / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.2833, allocations: 423.6 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2834, allocations: 0 / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2834, allocations: 0 / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2834, allocations: 4 kB / 435.3 MB, free: 2.07 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001421/0.2848, allocations: 0.6641 MB / 436 MB, free: 1.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2848, allocations: 16.03 kB / 436 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.2849, allocations: 32.75 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.2853, allocations: 296.7 kB / 436.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2853, allocations: 20.92 kB / 436.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.2854, allocations: 24.38 kB / 436.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.2862, allocations: 320 kB / 436.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2862, allocations: 0 / 436.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.2862, allocations: 8 kB / 436.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2862, allocations: 11.94 kB / 436.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.287, allocations: 274 kB / 436.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.2893, allocations: 1.169 MB / 438.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.2902, allocations: 234.6 kB / 438.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2905, allocations: 104.8 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2906, allocations: 0 / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.2911, allocations: 172.9 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.2911, allocations: 0 / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002086/0.2931, allocations: 0.5927 MB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.2932, allocations: 85.05 kB / 439.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2935, allocations: 258.6 kB / 439.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2936, allocations: 29.7 kB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2937, allocations: 207.9 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2938, allocations: 39.64 kB / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2939, allocations: 45.7 kB / 439.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.294, allocations: 334.8 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2944, allocations: 100.1 kB / 440.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.2948, allocations: 195.5 kB / 440.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.2955, allocations: 306.8 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.2955, allocations: 0 / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001289/0.2968, allocations: 443.8 kB / 441.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2969, allocations: 37.64 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2969, allocations: 4 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.2972, allocations: 60.81 kB / 441.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2975, allocations: 59.95 kB / 441.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.3001, allocations: 1.64 MB / 443 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.3005, allocations: 51.75 kB / 443 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3005, allocations: 8 kB / 443.1 MB, free: 9.754 MB / 350.1 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 0.0001837/0.3007, allocations: 161.9 kB / 443.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3007, allocations: 19.86 kB / 443.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.3008, allocations: 25.7 kB / 443.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3008, allocations: 0 / 443.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3008, allocations: 0 / 443.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3008, allocations: 0 / 443.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.3012, allocations: 317.4 kB / 443.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3012, allocations: 0 / 443.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.3014, allocations: 39.91 kB / 443.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.3016, allocations: 60.81 kB / 443.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3016, allocations: 4 kB / 443.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.3038, allocations: 1.625 MB / 445.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3038, allocations: 0 / 445.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.3052, allocations: 457.5 kB / 445.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3053, allocations: 100.9 kB / 445.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.3054, allocations: 12 kB / 445.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3056, allocations: 23.97 kB / 445.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.3057, allocations: 23.91 kB / 445.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3057, allocations: 4 kB / 445.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.3059, allocations: 190 kB / 446.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3059, allocations: 4 kB / 446.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3063, allocations: 67.84 kB / 446.2 MB, free: 6.41 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: 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.0001666/0.3064, allocations: 107.2 kB / 446.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3075, allocations: 394.4 kB / 446.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3075, allocations: 0 / 446.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.3079, allocations: 219.1 kB / 446.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3082, allocations: 52.39 kB / 446.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.3116, allocations: 0.9029 MB / 447.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.312, allocations: 0.748 MB / 448.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3121, allocations: 30.27 kB / 448.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.3122, allocations: 19.44 kB / 448.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3122, allocations: 4 kB / 448.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of Templates: time 0.008239/0.3204, allocations: 3.798 MB / 452.4 MB, free: 92 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/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.585867280140519]