Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001469/0.001469, allocations: 79.75 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.001214/0.001214, allocations: 161 kB / 24.56 MB, free: 12 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.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.289 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.2859/0.2859, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.106e-05, allocations: 6.25 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002913/0.002944, allocations: 1.773 MB / 377.9 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.004501, allocations: 1.005 MB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.004584, allocations: 4 kB / 378.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.004933, allocations: 51.69 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.005265, allocations: 103.5 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.005498, allocations: 83.59 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.0057, allocations: 103.7 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.005808, allocations: 12 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.005918, allocations: 63.75 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.006, allocations: 15.92 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.00602, allocations: 4 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006132, allocations: 47.92 kB / 379.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.006202, allocations: 31.84 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.00625, allocations: 15.94 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.006466, allocations: 103.6 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006469, allocations: 0 / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00647, allocations: 0 / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006475, allocations: 4 kB / 379.5 MB, free: 1.184 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.00055/0.007025, allocations: 471.6 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.007064, allocations: 8.031 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.007117, allocations: 16.84 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.007315, allocations: 157.2 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.007334, allocations: 384 / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007363, allocations: 8.375 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.007497, allocations: 58.94 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.007508, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.007525, allocations: 7.984 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.007534, allocations: 3.984 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.007576, allocations: 15.94 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.007926, allocations: 291.8 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.008058, allocations: 51.16 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.008092, allocations: 19.62 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008109, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.008221, allocations: 72.97 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.008222, allocations: 4 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004646/0.008687, allocations: 161.3 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.008719, allocations: 55.41 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.0089, allocations: 259.1 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.008914, allocations: 25.7 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.008983, allocations: 158.9 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.009015, allocations: 27.78 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.009058, allocations: 27.38 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002779/0.009335, allocations: 0.5001 MB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.009368, allocations: 11.98 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.009411, allocations: 35.36 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.009486, allocations: 55.19 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.009487, allocations: 4 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001504/0.009637, allocations: 97.52 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.009654, allocations: 9.25 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.00966, allocations: 3.984 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.009677, allocations: 384 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.009767, allocations: 12 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009772, allocations: 0 / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.009809, allocations: 8 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009817, allocations: 4 kB / 382.1 MB, free: 14.35 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 8.799e-05/0.009905, allocations: 172.5 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.009927, allocations: 15.91 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.01012, allocations: 107.2 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01012, allocations: 4 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01012, allocations: 0 / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01013, allocations: 0 / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.01048, allocations: 400.9 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01049, allocations: 3.984 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.01053, allocations: 15.94 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01053, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01054, allocations: 8.031 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01054, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01054, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01072, allocations: 263.4 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.01074, allocations: 11.91 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01076, allocations: 7.984 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.01082, allocations: 4 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.01086, allocations: 3.984 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01087, allocations: 4 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.01099, allocations: 187.1 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01099, allocations: 4 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01125, allocations: 27.94 kB / 383.3 MB, free: 13.05 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.0012/0.01245, allocations: 437.1 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01259, allocations: 51.59 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01259, allocations: 0 / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.01264, allocations: 35.61 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01296, allocations: 27.05 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.01339, allocations: 241.7 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.01345, allocations: 79.27 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01349, allocations: 17.27 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.01353, allocations: 20.48 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01353, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.004481/0.01801, allocations: 1.882 MB / 386.1 MB, free: 10.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.3903332450427115]