Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001508/0.001508, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001249/0.001249, allocations: 163.2 kB / 24.99 MB, free: 9.273 MB / 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2498/0.2498, allocations: 32.81 MB / 294.6 MB, free: 1.27 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 376.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.919e-05/4.144e-05, allocations: 5.688 kB / 376.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003538/0.003579, allocations: 1.949 MB / 378 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005261, allocations: 1.099 MB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.005387, allocations: 4 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.005849, allocations: 219.2 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.006318, allocations: 231 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.006585, allocations: 107.6 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.006865, allocations: 267.2 kB / 380 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006984, allocations: 17.95 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.007164, allocations: 147.5 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.007372, allocations: 151.7 kB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.007403, allocations: 12 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.007536, allocations: 67.89 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.007622, allocations: 63.72 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.007691, allocations: 47.78 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.00797, allocations: 195.2 kB / 380.6 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.007972, allocations: 4 kB / 380.6 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007974, allocations: 0 / 380.6 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.00798, allocations: 0 / 380.6 MB, free: 312 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006403/0.00862, allocations: 0.604 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.008658, allocations: 8.031 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.00873, allocations: 36.75 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.009029, allocations: 228.5 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.009054, allocations: 8.375 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.009082, allocations: 12.31 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.009268, allocations: 114.3 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.009282, allocations: 7.891 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.009295, allocations: 8 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.009303, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/0.009365, allocations: 27.97 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.009849, allocations: 0.514 MB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.01009, allocations: 118.1 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.01014, allocations: 43.48 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01016, allocations: 7.984 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.0103, allocations: 116.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.0103, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008491/0.01115, allocations: 473.2 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.0112, allocations: 89.03 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.01147, allocations: 398.3 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.01149, allocations: 29.7 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01159, allocations: 219.3 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.01165, allocations: 79.41 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.01172, allocations: 47.36 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01188, allocations: 0.5196 MB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.01194, allocations: 39.91 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.01202, allocations: 78.72 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.01215, allocations: 118.7 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01215, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002205/0.01237, allocations: 209.3 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01238, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01239, allocations: 3.938 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.0124, allocations: 4 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.01249, allocations: 43.91 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.0125, allocations: 7.938 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.01255, allocations: 8 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01256, allocations: 8 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.848e-05/0.01266, allocations: 172.6 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01269, allocations: 47.77 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.013, allocations: 229.3 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.013, allocations: 4 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01301, allocations: 3.938 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01301, allocations: 0 / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.01359, allocations: 0.7528 MB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01359, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.01365, allocations: 36.11 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.01365, allocations: 4 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.01367, allocations: 11.98 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01367, allocations: 3.984 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.01368, allocations: 7.938 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.01399, allocations: 0.5052 MB / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.01403, allocations: 35.75 kB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01406, allocations: 8 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.01413, allocations: 4 kB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.01419, allocations: 27.91 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.01421, allocations: 19.98 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.01438, allocations: 274.9 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01438, allocations: 0 / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.01463, allocations: 51.92 kB / 387 MB, free: 9.539 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001192/0.01582, allocations: 0.489 MB / 387.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.01606, allocations: 134.2 kB / 387.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01607, allocations: 0 / 387.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.01616, allocations: 75.52 kB / 387.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.01654, allocations: 65.45 kB / 387.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.0172, allocations: 0.4938 MB / 388.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.608e-05/0.01727, allocations: 100.3 kB / 388.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.01733, allocations: 37.91 kB / 388.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.01738, allocations: 32.48 kB / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01738, allocations: 0 / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005155/0.02254, allocations: 3.353 MB / 391.8 MB, free: 4.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.403049168875441]