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.001047/0.001047, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001364/0.001364, allocations: 162.6 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2674/0.2674, allocations: 34.25 MB / 296 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.213e-06/1.213e-06, allocations: 0 / 378.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.729e-06/1.094e-05, allocations: 2.312 kB / 378.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001898/0.001909, allocations: 1.774 MB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003127, allocations: 1.013 MB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.003192, allocations: 0 / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.003418, allocations: 79.64 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.003686, allocations: 127.4 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.003868, allocations: 83.55 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004014, allocations: 123.7 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.004088, allocations: 8 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.004174, allocations: 71.75 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.004261, allocations: 55.86 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.004274, allocations: 4 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.004353, allocations: 59.92 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.004394, allocations: 27.84 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.00443, allocations: 27.92 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004579, allocations: 123.5 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.00458, allocations: 0 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004581, allocations: 0 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004584, allocations: 0 / 381.7 MB, free: 15.25 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.0003447/0.004929, allocations: 467.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.004956, allocations: 8.031 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.004992, allocations: 16.84 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.005122, allocations: 152.4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005132, allocations: 384 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.005147, allocations: 8.375 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.005236, allocations: 78.84 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.005244, allocations: 3.938 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.005251, allocations: 0 / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005256, allocations: 7.938 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.005288, allocations: 11.98 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.005541, allocations: 291.8 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.005698, allocations: 66.91 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.005729, allocations: 19.69 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.005739, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/0.005825, allocations: 73.16 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.005826, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004756/0.006301, allocations: 229.2 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.00633, allocations: 59.34 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.006472, allocations: 238.7 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006484, allocations: 29.7 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.006542, allocations: 158.9 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.006577, allocations: 35.69 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006611, allocations: 39.38 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.006732, allocations: 0.5 MB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.00676, allocations: 20 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.006802, allocations: 39.36 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.006871, allocations: 67.23 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006872, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001185/0.00699, allocations: 113.6 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007001, allocations: 4 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.007004, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.007013, allocations: 4.031 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.007063, allocations: 27.94 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007068, allocations: 3.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.007094, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.0071, allocations: 4 kB / 384.4 MB, free: 12.28 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 6.738e-05/0.007168, allocations: 163.3 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.007189, allocations: 23.91 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.00735, allocations: 134.9 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007352, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.007355, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.00736, allocations: 8 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.007682, allocations: 444.5 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.007683, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.007711, allocations: 12 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007714, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007723, allocations: 3.984 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007725, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007727, allocations: 3.938 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.00789, allocations: 287.1 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.007904, allocations: 19.97 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.007922, allocations: 7.984 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.007962, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.007992, allocations: 15.92 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.008002, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.214e-05/0.008084, allocations: 185 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008085, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.00827, allocations: 27.94 kB / 385.7 MB, free: 10.87 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.001069/0.009339, allocations: 493.6 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.009482, allocations: 67.53 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009483, allocations: 0 / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.123e-05/0.009535, allocations: 43.59 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.009773, allocations: 39.91 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.0101, allocations: 272.5 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.01015, allocations: 71.33 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.881e-05/0.01019, allocations: 16.62 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.01022, allocations: 20.5 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01022, allocations: 0 / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of Templates: time 0.003436/0.01365, allocations: 2.113 MB / 388.9 MB, free: 7.902 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","",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.2250620019622147]