Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001527/0.001527, 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.00191/0.00191, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.037e-05, allocations: 10.19 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002139/0.002159, allocations: 1.785 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.00333, allocations: 1.005 MB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.003421, allocations: 3.938 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.003753, allocations: 87.69 kB / 379 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004054, allocations: 131.3 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.004202, allocations: 75.67 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004365, allocations: 131.5 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.004463, allocations: 12 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004564, allocations: 67.86 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004666, allocations: 63.8 kB / 379.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004683, allocations: 4 kB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.00478, allocations: 67.84 kB / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.004835, allocations: 23.92 kB / 379.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.004877, allocations: 31.86 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.005062, allocations: 111.6 kB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005064, allocations: 4 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005065, allocations: 0 / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.00507, allocations: 0 / 379.7 MB, free: 1.293 MB / 346.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.0004738/0.005544, allocations: 471.7 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.005579, allocations: 8.031 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.00563, allocations: 20.78 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.0058, allocations: 161.2 kB / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.00582, allocations: 8.375 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005841, allocations: 4.375 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005966, allocations: 66.92 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005977, allocations: 3.938 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.005987, allocations: 0 / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.005996, allocations: 0 / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.006034, allocations: 19.98 kB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.006506, allocations: 299.7 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.006677, allocations: 62.97 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.006714, allocations: 19.81 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.006731, allocations: 4 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.006858, allocations: 77.03 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.00686, allocations: 0 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005374/0.007397, allocations: 225.6 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.007436, allocations: 51.41 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.007587, allocations: 255.1 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.007602, allocations: 33.7 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.007663, allocations: 158.9 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.007696, allocations: 39.69 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.007731, allocations: 35.36 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.007848, allocations: 0.504 MB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.007878, allocations: 19.98 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.007919, allocations: 39.11 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.007989, allocations: 63.31 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007992, allocations: 4 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001256/0.008118, allocations: 117.5 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008132, allocations: 8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008136, allocations: 4.031 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.00815, allocations: 3.984 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.008207, allocations: 23.98 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.008214, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.008243, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008251, allocations: 4 kB / 382.4 MB, free: 14.3 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 8.037e-05/0.008331, allocations: 168.5 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.008352, allocations: 23.89 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.00853, allocations: 123.1 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008532, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.008535, allocations: 4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.00854, allocations: 3.938 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.008888, allocations: 448.5 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.00889, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.008924, allocations: 19.98 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008927, allocations: 4 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008935, allocations: 0 / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.008939, allocations: 7.938 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.008942, allocations: 3.938 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.009109, allocations: 287.5 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.009121, allocations: 11.91 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.00914, allocations: 8 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.009182, allocations: 4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.009223, allocations: 11.92 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.009238, allocations: 11.98 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.211e-05/0.00933, allocations: 179.1 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00933, allocations: 3.938 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.009512, allocations: 35.92 kB / 383.8 MB, free: 12.88 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.001021/0.01053, allocations: 489.6 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.01066, allocations: 63.59 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01066, allocations: 0 / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.01071, allocations: 43.78 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01095, allocations: 36.14 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01134, allocations: 277.3 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.01139, allocations: 71.33 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.932e-05/0.01142, allocations: 16.64 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.01146, allocations: 16.5 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01146, allocations: 4 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.00389/0.01535, allocations: 2.13 MB / 386.9 MB, free: 9.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.229933029972017]