Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001354/0.001354, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001528/0.001528, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2743/0.2743, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.938e-06/3.938e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.146e-05/4.54e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002811/0.002856, allocations: 1.774 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004131, allocations: 1.004 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.004207, allocations: 7.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.004525, allocations: 51.75 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.004819, allocations: 103.4 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004988, allocations: 83.66 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.005162, allocations: 107.6 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.005259, allocations: 4 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.005348, allocations: 63.81 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.005425, allocations: 23.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005443, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.005529, allocations: 51.84 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.005592, allocations: 31.86 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.005636, allocations: 19.92 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005827, allocations: 111.6 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005831, allocations: 0 / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005832, allocations: 0 / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005838, allocations: 0 / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005275/0.006365, allocations: 479.6 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.006406, allocations: 12.03 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.006456, allocations: 16.84 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.00666, allocations: 169.2 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.006681, allocations: 384 / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.006712, allocations: 8.375 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.006857, allocations: 62.94 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.00687, allocations: 3.938 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.00688, allocations: 0 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006888, allocations: 3.938 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.006928, allocations: 11.98 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.007291, allocations: 307.8 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.007411, allocations: 55.16 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.007443, allocations: 15.62 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.007461, allocations: 0 / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.007572, allocations: 69.05 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.007574, allocations: 0 / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004624/0.008036, allocations: 169.2 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.008072, allocations: 55.34 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.008244, allocations: 278.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.00826, allocations: 29.7 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.008327, allocations: 166.9 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.008356, allocations: 23.8 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.008392, allocations: 31.36 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.008516, allocations: 0.4962 MB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.008546, allocations: 15.98 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.008584, allocations: 35.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.008645, allocations: 55.16 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008646, allocations: 4 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000112/0.008758, allocations: 89.59 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008772, allocations: 4 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008778, allocations: 384 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.008798, allocations: 7.984 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.008884, allocations: 15.94 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.008891, allocations: 4 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.008924, allocations: 8 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008929, allocations: 0 / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.009008, allocations: 168.5 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.009028, allocations: 19.94 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.009194, allocations: 115.2 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.009197, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009201, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009204, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.009509, allocations: 409 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.009511, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.009543, allocations: 11.94 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.009546, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.009555, allocations: 4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009557, allocations: 4.031 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009558, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.009707, allocations: 267.4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.009725, allocations: 15.89 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.009743, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.009793, allocations: 7.938 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.00983, allocations: 11.98 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.009844, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.009937, allocations: 200.5 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009937, allocations: 0 / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.01011, allocations: 27.92 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009602/0.01107, allocations: 440.1 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01121, allocations: 51.61 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01121, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.01125, allocations: 35.61 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.0115, allocations: 35.75 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.01193, allocations: 266.6 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.01198, allocations: 71.33 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.01201, allocations: 17.27 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.01205, allocations: 16.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01205, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003906/0.01596, allocations: 1.895 MB / 386.2 MB, free: 10.22 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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: 3.2826590607874095]