Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001799/0.001799, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002292/0.002292, allocations: 161.7 kB / 24.27 MB, free: 172 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3489/0.3489, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.834e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003302/0.00333, allocations: 1.671 MB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005226, allocations: 0.9664 MB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.00529, allocations: 4 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.005597, allocations: 67.67 kB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.005941, allocations: 107.5 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.006154, allocations: 71.67 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.006348, allocations: 107.6 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.006388, allocations: 8.219 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.006506, allocations: 59.83 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.006613, allocations: 43.89 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.006632, allocations: 4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.006717, allocations: 35.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.006776, allocations: 23.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.00682, allocations: 11.94 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.007032, allocations: 111.6 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007036, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007037, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.007041, allocations: 0 / 380.6 MB, free: 15.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005741/0.007615, allocations: 337.6 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.007649, allocations: 8.031 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.007709, allocations: 12.89 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.007981, allocations: 158.2 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.007996, allocations: 384 / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.008012, allocations: 4.375 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.008157, allocations: 50.17 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.00817, allocations: 3.938 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.00818, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008186, allocations: 4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.008264, allocations: 23.92 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.008458, allocations: 129.3 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.008637, allocations: 50.61 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.008703, allocations: 20.8 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.008724, allocations: 3.984 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.008897, allocations: 67.38 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.008898, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003389/0.009237, allocations: 105.5 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.009286, allocations: 59.41 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.009523, allocations: 202.6 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.009546, allocations: 29.7 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.009622, allocations: 104.1 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.009657, allocations: 15.89 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.009701, allocations: 21.72 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.009896, allocations: 322.8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.009951, allocations: 12 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.01002, allocations: 25.7 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01013, allocations: 53.95 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01013, allocations: 0 / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.01032, allocations: 89.56 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01034, allocations: 8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.01034, allocations: 3.938 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.01036, allocations: 0 / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.01043, allocations: 8 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01044, allocations: 4 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.01049, allocations: 11.86 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.0105, allocations: 4 kB / 382.6 MB, free: 13.48 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 (7): * Single equations (assignments): 7 * 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.0001123/0.01061, allocations: 125.9 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.01064, allocations: 15.91 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.0109, allocations: 102.9 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.0109, allocations: 4 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0109, allocations: 0 / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.0109, allocations: 0 / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01104, allocations: 125.3 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01105, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.01108, allocations: 7.984 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01108, allocations: 7.875 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01109, allocations: 8 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01109, allocations: 3.938 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01109, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.01131, allocations: 121 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.01133, allocations: 7.953 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01135, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.0114, allocations: 8.109 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.01143, allocations: 8 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01145, allocations: 4 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.0116, allocations: 148.2 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0116, allocations: 4 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.01184, allocations: 27.92 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001966/0.0138, allocations: 436.2 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.01397, allocations: 35.98 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01397, allocations: 0 / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.01404, allocations: 23.92 kB / 383.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.01432, allocations: 28.23 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.01479, allocations: 216.6 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01489, allocations: 93.44 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.01494, allocations: 16.47 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.01498, allocations: 16.5 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01498, allocations: 0 / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.005059/0.02004, allocations: 1.632 MB / 385.8 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.845068854978308]