Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.002738/0.002738, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002808/0.002808, allocations: 169.6 kB / 24.28 MB, free: 152 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.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3488/0.3488, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.34e-06, allocations: 3.984 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.883e-05/4.417e-05, allocations: 14.19 kB / 375.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003784/0.003828, allocations: 1.687 MB / 377 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.005814, allocations: 0.9743 MB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.00589, allocations: 4 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.006255, allocations: 71.61 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.006626, allocations: 103.5 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.006838, allocations: 79.61 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.007047, allocations: 111.6 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.007086, allocations: 4.234 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.007215, allocations: 55.83 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.007343, allocations: 47.81 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.007367, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.007462, allocations: 35.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.00753, allocations: 19.92 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.007581, allocations: 19.92 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.007817, allocations: 103.7 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007821, allocations: 0 / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007822, allocations: 0 / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.007827, allocations: 0 / 378.7 MB, free: 1.566 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007083/0.008535, allocations: 451.5 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.008571, allocations: 8.031 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.008633, allocations: 8.891 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.008896, allocations: 161.1 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.00891, allocations: 384 / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.008923, allocations: 4.359 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.009064, allocations: 50.25 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.009076, allocations: 3.938 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.00909, allocations: 4 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.009095, allocations: 0 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.009165, allocations: 11.98 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.009402, allocations: 152.6 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.009581, allocations: 51.11 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.009638, allocations: 23.67 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.009656, allocations: 4 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.009813, allocations: 65.05 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.009814, allocations: 4 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003134/0.01013, allocations: 105.5 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.01019, allocations: 51.41 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.01045, allocations: 250.4 kB / 380 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.01049, allocations: 29.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01061, allocations: 150.9 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.01065, allocations: 15.91 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.0107, allocations: 27.38 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002939/0.011, allocations: 0.4962 MB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.01104, allocations: 15.98 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.01111, allocations: 39.36 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.01123, allocations: 47.56 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01123, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.0114, allocations: 81.58 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01141, allocations: 5.875 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01142, allocations: 3.938 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01144, allocations: 4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.01151, allocations: 11.98 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01152, allocations: 3.938 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.01157, allocations: 15.97 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.01158, allocations: 0 / 381 MB, free: 15.03 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 (7): * Single equations (assignments): 7 * 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 0.0001411/0.01172, allocations: 160.6 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01175, allocations: 19.89 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.01197, allocations: 94.7 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.01198, allocations: 4 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01198, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01198, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.01217, allocations: 148.6 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01217, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.0122, allocations: 7.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01221, allocations: 7.984 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.01221, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.01222, allocations: 7.938 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01222, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.01245, allocations: 128.3 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01247, allocations: 8.141 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01249, allocations: 8 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.013e-05/0.01253, allocations: 3.938 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.01257, allocations: 7.984 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01259, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.01275, allocations: 184.2 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01275, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01296, allocations: 19.94 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002854/0.01581, allocations: 427.5 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.01601, allocations: 47.61 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01602, allocations: 0 / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.0161, allocations: 35.8 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01639, allocations: 42.84 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.01688, allocations: 210.2 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01699, allocations: 89.38 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.01704, allocations: 12.48 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.01707, allocations: 12.5 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01708, allocations: 0 / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.00549/0.02257, allocations: 1.628 MB / 384.3 MB, free: 11.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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: 5.00213951501064]