Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001014/0.001014, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001043/0.001043, allocations: 161 kB / 24.56 MB, free: 16 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.063/1.063, 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.2928/0.2928, allocations: 32.81 MB / 294.3 MB, free: 1.191 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.81e-05, allocations: 2.312 kB / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00241/0.002439, allocations: 1.769 MB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003665, allocations: 1.005 MB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.003734, allocations: 3.938 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.004017, allocations: 47.75 kB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.004282, allocations: 95.53 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.004435, allocations: 83.55 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.004593, allocations: 111.6 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.004681, allocations: 7.984 kB / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.004775, allocations: 55.83 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.004841, allocations: 19.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.004856, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.004934, allocations: 47.91 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.004986, allocations: 23.92 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.005025, allocations: 23.86 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.005194, allocations: 107.6 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005196, allocations: 0 / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005197, allocations: 4 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.005201, allocations: 0 / 379.5 MB, free: 1.125 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.0004569/0.005658, allocations: 451.8 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.005697, allocations: 12.03 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.005743, allocations: 8.891 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.005912, allocations: 156.9 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.005932, allocations: 8.312 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.005956, allocations: 4.375 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.006079, allocations: 58.94 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.00609, allocations: 3.938 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.006099, allocations: 7.938 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.006106, allocations: 4 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.006143, allocations: 11.98 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.006436, allocations: 287.8 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.006547, allocations: 55.22 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.006575, allocations: 19.61 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006589, allocations: 4 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.006681, allocations: 65.05 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.006682, allocations: 4 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003628/0.007045, allocations: 161.3 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.007077, allocations: 51.41 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.007221, allocations: 237.9 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007234, allocations: 25.7 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.007292, allocations: 154.8 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.007318, allocations: 27.78 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.007352, allocations: 31.38 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.007469, allocations: 0.4961 MB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.007495, allocations: 15.98 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.00753, allocations: 35.36 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.007584, allocations: 51.69 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007586, allocations: 4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001015/0.007688, allocations: 89.56 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.007699, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.007705, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.00772, allocations: 3.984 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.007787, allocations: 16 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.007793, allocations: 3.938 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.007821, allocations: 11.98 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.007834, allocations: 7.984 kB / 382.1 MB, free: 14.34 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.253e-05/0.007917, allocations: 168.5 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.007939, allocations: 11.95 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.008146, allocations: 111.2 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008148, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008151, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008155, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.008502, allocations: 392.9 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.008505, allocations: 11.86 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.008534, allocations: 15.98 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008537, allocations: 0 / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.008545, allocations: 0 / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.008547, allocations: 4 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008548, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.008685, allocations: 255.4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.008698, allocations: 11.91 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.008714, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.008758, allocations: 7.984 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.008791, allocations: 4 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.008804, allocations: 11.98 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.107e-05/0.008885, allocations: 180.1 kB / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008885, allocations: 3.938 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.009063, allocations: 23.94 kB / 383.2 MB, free: 13.07 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.0009444/0.01001, allocations: 432 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01012, allocations: 55.61 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01012, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.01016, allocations: 27.8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01043, allocations: 39.95 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.01075, allocations: 229.8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.0108, allocations: 71.33 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01084, allocations: 13.28 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.01088, allocations: 20.48 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01089, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003446/0.01433, allocations: 1.871 MB / 386 MB, free: 10.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.5010254932567477]