Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001903/0.001903, allocations: 91.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.002003/0.002003, allocations: 169.3 kB / 24.28 MB, free: 152 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.648/1.648, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3605/0.3605, allocations: 34.25 MB / 295.3 MB, free: 0.7109 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.441e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003795/0.003829, allocations: 1.747 MB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005951, allocations: 1.001 MB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.006028, allocations: 0 / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.006484, allocations: 111.7 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.006929, allocations: 127.5 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.007197, allocations: 83.59 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.007467, allocations: 135.6 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.007627, allocations: 11.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.007798, allocations: 83.73 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.007958, allocations: 59.86 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.007991, allocations: 12 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.008178, allocations: 67.89 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.008276, allocations: 31.86 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.008341, allocations: 15.94 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.008676, allocations: 159.4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.008682, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.008683, allocations: 0 / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.008689, allocations: 0 / 381 MB, free: 15.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007409/0.00943, allocations: 491.3 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.009478, allocations: 8.031 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.009548, allocations: 24.78 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.009839, allocations: 173.2 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.009855, allocations: 4.375 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.009882, allocations: 4.375 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.01006, allocations: 62.22 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01007, allocations: 3.938 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.01008, allocations: 0 / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01009, allocations: 4 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.0102, allocations: 31.97 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.01074, allocations: 331.6 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.01104, allocations: 86.97 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.01111, allocations: 23.67 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.01112, allocations: 4 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.01131, allocations: 85.08 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.01131, allocations: 0 / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009508/0.01226, allocations: 273.4 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.01231, allocations: 51.41 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.01265, allocations: 294.8 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.01268, allocations: 33.7 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01282, allocations: 170.8 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.01288, allocations: 47.83 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.01295, allocations: 39.31 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004177/0.01337, allocations: 0.5157 MB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.01344, allocations: 27.88 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01356, allocations: 66.03 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.01373, allocations: 91.36 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01373, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002815/0.01402, allocations: 141.5 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01403, allocations: 9.844 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01404, allocations: 4 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01405, allocations: 4 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01416, allocations: 27.97 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.01417, allocations: 4 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.01421, allocations: 0 / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01423, allocations: 4 kB / 384.1 MB, free: 11.9 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 (14): * Single equations (assignments): 14 * 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.0001577/0.01439, allocations: 176.5 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01443, allocations: 15.91 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.01481, allocations: 171 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.01481, allocations: 8 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01482, allocations: 0 / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01482, allocations: 0 / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.01563, allocations: 0.4929 MB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01564, allocations: 4 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.01572, allocations: 23.98 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01572, allocations: 3.938 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01573, allocations: 4 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01574, allocations: 0 / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01574, allocations: 3.938 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.01619, allocations: 327.1 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.01622, allocations: 15.91 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.01626, allocations: 8 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.01634, allocations: 7.984 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.01639, allocations: 15.92 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.01642, allocations: 4 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.01662, allocations: 205.4 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.0169, allocations: 35.92 kB / 385.6 MB, free: 10.31 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 (14): * Single equations (assignments): 12 * 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.003858/0.02076, allocations: 0.5541 MB / 386.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.02103, allocations: 95.58 kB / 386.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02104, allocations: 0 / 386.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.02117, allocations: 55.61 kB / 386.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.02158, allocations: 31.97 kB / 386.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.02224, allocations: 310 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.02238, allocations: 110.9 kB / 386.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.02246, allocations: 25.12 kB / 386.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.02251, allocations: 24.48 kB / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.02251, allocations: 0 / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of Templates: time 0.0066/0.02911, allocations: 2.261 MB / 389.1 MB, free: 7.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.932464358978905]