Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001612/0.001612, 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.001293/0.001293, allocations: 165 kB / 24.99 MB, free: 8.758 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 0.9824/0.9824, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2647/0.2647, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.336e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002076/0.0021, allocations: 1.719 MB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003342, allocations: 0.9897 MB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.003407, allocations: 0 / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.003669, allocations: 71.61 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.003922, allocations: 107.5 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004072, allocations: 79.66 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004214, allocations: 111.6 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.004247, allocations: 4.234 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.004323, allocations: 51.88 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.004402, allocations: 43.89 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.004415, allocations: 4 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.004481, allocations: 43.86 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.004533, allocations: 23.86 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.00457, allocations: 11.94 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.004739, allocations: 87.72 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004741, allocations: 0 / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004742, allocations: 0 / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004747, allocations: 0 / 381.4 MB, free: 15.55 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.0004137/0.00516, allocations: 439.9 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.005191, allocations: 8.031 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.005231, allocations: 16.84 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.005384, allocations: 165 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.005401, allocations: 4.375 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.00541, allocations: 4.375 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.005771, allocations: 54.94 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.005778, allocations: 3.938 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.005786, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.005792, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.005823, allocations: 11.98 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.005954, allocations: 136.7 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.006048, allocations: 51.05 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.006072, allocations: 15.69 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.006084, allocations: 4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-05/0.006171, allocations: 61.05 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.006173, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001681/0.006341, allocations: 89.64 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.006368, allocations: 51.41 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006492, allocations: 238.4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006504, allocations: 25.7 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.006554, allocations: 150.9 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.00658, allocations: 23.84 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.006608, allocations: 23.38 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006719, allocations: 0.4923 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.006739, allocations: 7.984 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.006766, allocations: 31.44 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.006812, allocations: 47.3 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.006813, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.36e-05/0.006887, allocations: 61.64 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.006897, allocations: 8 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006902, allocations: 7.969 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006913, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.00697, allocations: 15.94 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006976, allocations: 4 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.007002, allocations: 3.953 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.007007, allocations: 4 kB / 383.7 MB, free: 13.09 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 6.848e-05/0.007075, allocations: 168.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.007088, allocations: 11.89 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.007197, allocations: 86.92 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007198, allocations: 3.938 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007201, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007205, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.007296, allocations: 144.6 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007297, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.007312, allocations: 7.984 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007314, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.007321, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.007323, allocations: 3.938 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.007325, allocations: 4.109 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.007418, allocations: 124.3 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.00743, allocations: 7.953 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.007445, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.007465, allocations: 3.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.007491, allocations: 7.984 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.007501, allocations: 11.94 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.841e-05/0.00758, allocations: 164.2 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00758, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.007718, allocations: 19.94 kB / 384.4 MB, free: 12.25 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.0007537/0.008472, allocations: 375.4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.008571, allocations: 39.66 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008573, allocations: 0 / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.008605, allocations: 31.61 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.008778, allocations: 33.77 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.009055, allocations: 202.2 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.009086, allocations: 63.34 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.009114, allocations: 12.48 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.009143, allocations: 16.5 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009143, allocations: 3.938 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003023/0.01217, allocations: 1.64 MB / 386.8 MB, free: 9.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.297953068977222]