Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.002426/0.002426, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002804/0.002804, allocations: 161.3 kB / 24.27 MB, free: 156 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.658/1.658, allocations: 177.1 MB / 204.6 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3622/0.3622, allocations: 34.25 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 377.4 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.893e-05, allocations: 2.312 kB / 377.4 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00343/0.003459, allocations: 1.733 MB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.006284, allocations: 1.707 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.006353, allocations: 3.938 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.006625, allocations: 39.7 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.00698, allocations: 107.4 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.007198, allocations: 75.66 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.007586, allocations: 119.6 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.007669, allocations: 4 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.007801, allocations: 71.81 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.007938, allocations: 39.83 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.007962, allocations: 4 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.008174, allocations: 103.9 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.008232, allocations: 15.92 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.008288, allocations: 31.91 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.008626, allocations: 191.3 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.008631, allocations: 3.984 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008631, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.008636, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006973/0.009333, allocations: 467.4 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.00937, allocations: 8.031 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.009438, allocations: 16.84 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.009717, allocations: 159 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00973, allocations: 4.375 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.009753, allocations: 4.375 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.009982, allocations: 107.2 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.009997, allocations: 3.938 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01002, allocations: 4 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01002, allocations: 3.984 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.01012, allocations: 19.98 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.0106, allocations: 303.7 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.01083, allocations: 75.09 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.01091, allocations: 31.61 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.01092, allocations: 0 / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.0111, allocations: 81.03 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.0111, allocations: 0 / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006231/0.01172, allocations: 205.3 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.01179, allocations: 85.09 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.01206, allocations: 234.5 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.01209, allocations: 33.7 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01219, allocations: 150.9 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.01223, allocations: 31.75 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.01229, allocations: 31.36 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.01256, allocations: 0.5001 MB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.01262, allocations: 27.92 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.01274, allocations: 80.75 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01289, allocations: 79.23 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01289, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.01312, allocations: 113.6 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01314, allocations: 8 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01314, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01316, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.01325, allocations: 19.98 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01326, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.01331, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01331, allocations: 0 / 384.4 MB, free: 11.56 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 (11): * Single equations (assignments): 11 * 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.0001399/0.01345, allocations: 180.4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.01349, allocations: 15.91 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.0138, allocations: 134.4 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.0138, allocations: 4 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01381, allocations: 0 / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01381, allocations: 0 / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.01441, allocations: 444.9 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01441, allocations: 0 / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.01447, allocations: 12 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01447, allocations: 0 / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.01449, allocations: 3.984 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01449, allocations: 4 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01449, allocations: 32 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.01489, allocations: 291.7 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.01492, allocations: 11.94 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.01495, allocations: 7.938 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.01503, allocations: 4 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01507, allocations: 7.984 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.01509, allocations: 4 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.01527, allocations: 183.9 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01527, allocations: 0 / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.01558, allocations: 51.86 kB / 385.8 MB, free: 10.14 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 (11): * Single equations (assignments): 9 * 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.003832/0.01942, allocations: 0.5877 MB / 386.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.01965, allocations: 79.59 kB / 386.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01966, allocations: 0 / 386.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.01976, allocations: 51.59 kB / 386.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.02011, allocations: 35.44 kB / 386.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.02065, allocations: 249.8 kB / 386.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.02075, allocations: 88.3 kB / 386.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.02082, allocations: 20.62 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.02088, allocations: 20.5 kB / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02088, allocations: 4 kB / 386.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of Templates: time 0.007235/0.02812, allocations: 2.659 MB / 389.6 MB, free: 6.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.033759659039788]