Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 210.9 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2256, allocations: 53.37 MB / 432.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004305/0.2299, allocations: 2.696 MB / 435.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2313, allocations: 0.7168 MB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2315, allocations: 4 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.2316, allocations: 47.5 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.2319, allocations: 107.2 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2322, allocations: 119.8 kB / 436.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.2326, allocations: 382.6 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2328, allocations: 98.61 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2331, allocations: 167.3 kB / 436.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2333, allocations: 167.3 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.2334, allocations: 36 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/0.2335, allocations: 40 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.2335, allocations: 75.7 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2337, allocations: 143.4 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.2342, allocations: 430.3 kB / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2342, allocations: 0 / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2342, allocations: 0 / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2342, allocations: 0 / 437.6 MB, free: 1.621 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.001338/0.2355, allocations: 0.5887 MB / 438.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2355, allocations: 16.02 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.2356, allocations: 32.75 kB / 438.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.2361, allocations: 238.9 kB / 438.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2361, allocations: 20.86 kB / 438.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.2361, allocations: 24.38 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.2369, allocations: 344.7 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2369, allocations: 0 / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2369, allocations: 8 kB / 438.8 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2369, allocations: 4 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.2377, allocations: 281.8 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2398, allocations: 1.002 MB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.2406, allocations: 234.6 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.241, allocations: 100.7 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.241, allocations: 0 / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.2415, allocations: 202.6 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2415, allocations: 4 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002108/0.2436, allocations: 0.5058 MB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.2436, allocations: 89.03 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2439, allocations: 257 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.244, allocations: 33.7 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.2441, allocations: 200 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.2442, allocations: 47.62 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.2443, allocations: 53.64 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2444, allocations: 326.8 kB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2448, allocations: 133.8 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.2452, allocations: 243 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.2459, allocations: 306.4 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2459, allocations: 4 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00126/0.2472, allocations: 465.6 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.2472, allocations: 33.7 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2473, allocations: 12 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.2476, allocations: 68.75 kB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.2478, allocations: 55.89 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.2501, allocations: 1.514 MB / 444.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.2505, allocations: 43.81 kB / 445 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2505, allocations: 16.09 kB / 445 MB, free: 9.715 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.0001733/0.2507, allocations: 148.8 kB / 445.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.2507, allocations: 23.86 kB / 445.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.2508, allocations: 25.7 kB / 445.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2508, allocations: 4 kB / 445.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.2508, allocations: 0 / 445.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2508, allocations: 3.984 kB / 445.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.251, allocations: 213.1 kB / 445.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.251, allocations: 3.938 kB / 445.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.2512, allocations: 43.91 kB / 445.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.2515, allocations: 60.81 kB / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2515, allocations: 0 / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.2535, allocations: 1.506 MB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2535, allocations: 0 / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.2549, allocations: 445.6 kB / 447.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2549, allocations: 23.88 kB / 447.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.255, allocations: 8 kB / 447.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.2552, allocations: 27.91 kB / 447.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2553, allocations: 19.97 kB / 447.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2553, allocations: 0 / 447.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2555, allocations: 196.3 kB / 447.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2555, allocations: 4.062 kB / 447.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.2558, allocations: 71.83 kB / 447.8 MB, free: 6.746 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.000128/0.256, allocations: 99.25 kB / 447.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.257, allocations: 431.6 kB / 448.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.257, allocations: 4 kB / 448.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.2574, allocations: 219.1 kB / 448.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2578, allocations: 42.92 kB / 448.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.2613, allocations: 0.8978 MB / 449.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2614, allocations: 146.8 kB / 449.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.2615, allocations: 23.42 kB / 449.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2615, allocations: 0 / 449.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of Templates: time 0.007103/0.2686, allocations: 4.626 MB / 454.2 MB, free: 192 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.377313417993719]