Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001816/0.001816, allocations: 95.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.002037/0.002037, allocations: 165.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.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.3981/0.3981, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.066e-05, allocations: 2.312 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003619/0.00365, allocations: 1.743 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.005788, allocations: 1.013 MB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.005883, allocations: 0 / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.006293, allocations: 91.56 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.006763, allocations: 115.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.007037, allocations: 83.59 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.007299, allocations: 123.6 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.0074, allocations: 15.92 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.007565, allocations: 71.75 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.007702, allocations: 55.88 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.007727, allocations: 4 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.007874, allocations: 59.91 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.007947, allocations: 27.86 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.008003, allocations: 23.92 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.008301, allocations: 135.5 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.008304, allocations: 0 / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.008305, allocations: 0 / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.00831, allocations: 0 / 380.9 MB, free: 15.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007495/0.00906, allocations: 479.3 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.009094, allocations: 12.03 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.009167, allocations: 16.84 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.009442, allocations: 160.4 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.009458, allocations: 384 / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.009482, allocations: 4.375 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.009661, allocations: 58.17 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.00968, allocations: 7.938 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.009691, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.009696, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.009787, allocations: 23.97 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.01045, allocations: 307.8 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.01075, allocations: 74.91 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.01082, allocations: 19.81 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01084, allocations: 4 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.01102, allocations: 85.09 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01102, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009207/0.01194, allocations: 253.1 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.012, allocations: 55.34 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.0123, allocations: 262.7 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.01233, allocations: 33.7 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01245, allocations: 162.9 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.01252, allocations: 31.7 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.01258, allocations: 39.36 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.01288, allocations: 0.5079 MB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.01296, allocations: 31.98 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/0.01305, allocations: 51.36 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.01323, allocations: 87.41 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01323, allocations: 3.938 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002906/0.01352, allocations: 129.5 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.01354, allocations: 10.06 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01355, allocations: 4 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01356, allocations: 0 / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.01366, allocations: 27.92 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01367, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.01372, allocations: 3.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01374, allocations: 4 kB / 383.8 MB, free: 12.2 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 (13): * Single equations (assignments): 13 * 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.0001516/0.01389, allocations: 168.5 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.01393, allocations: 19.91 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.01428, allocations: 155 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01428, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01428, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01429, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.01497, allocations: 484.5 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01498, allocations: 0 / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.01504, allocations: 15.98 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01504, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01505, allocations: 4 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01506, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.01507, allocations: 12 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.01546, allocations: 299.1 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.01549, allocations: 15.91 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.01552, allocations: 8 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.01559, allocations: 0 / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.01565, allocations: 19.86 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.01567, allocations: 7.984 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.01584, allocations: 189.1 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01584, allocations: 0 / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.01613, allocations: 35.92 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003929/0.02006, allocations: 0.5431 MB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.02033, allocations: 95.47 kB / 385.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02033, allocations: 0 / 385.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.02045, allocations: 51.59 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.02082, allocations: 32.14 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.02144, allocations: 280.5 kB / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.02157, allocations: 106 kB / 386.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.578e-05/0.02163, allocations: 20.62 kB / 386.3 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.02169, allocations: 16.5 kB / 386.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02169, allocations: 0 / 386.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of Templates: time 0.006451/0.02814, allocations: 2.111 MB / 388.5 MB, free: 7.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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: 4.946030186023563]