Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001708/0.001708, 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.002046/0.002046, 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3856/0.3856, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.452e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003881/0.003915, allocations: 1.726 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.00701, allocations: 1.683 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.007093, allocations: 3.938 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.007404, allocations: 39.7 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.007833, allocations: 107.4 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.008058, allocations: 79.66 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.008265, allocations: 103.6 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.008365, allocations: 11.98 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.00849, allocations: 59.83 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.008631, allocations: 31.89 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.008657, allocations: 4 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.008865, allocations: 111.8 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.008932, allocations: 15.92 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.008994, allocations: 23.92 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.009352, allocations: 183.4 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.009357, allocations: 0 / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009358, allocations: 0 / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.009364, allocations: 0 / 381.5 MB, free: 14.69 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006992/0.01006, allocations: 353.5 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.01011, allocations: 11.97 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.01018, allocations: 12.89 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.01054, allocations: 150.2 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.01055, allocations: 384 / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.01058, allocations: 8.359 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.01081, allocations: 101 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01082, allocations: 0 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01083, allocations: 3.938 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.01084, allocations: 0 / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.01094, allocations: 19.98 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.0114, allocations: 236.5 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.01161, allocations: 50.67 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.01168, allocations: 28.78 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.0117, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.01188, allocations: 67.39 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01188, allocations: 0 / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007851/0.01267, allocations: 185.6 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.01273, allocations: 77.11 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.01295, allocations: 167.6 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.01298, allocations: 29.7 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01308, allocations: 100.1 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.01314, allocations: 27.78 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.0132, allocations: 25.72 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.01341, allocations: 326.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.01348, allocations: 20.05 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.0136, allocations: 80.2 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01374, allocations: 61.77 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01374, allocations: 0 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.01397, allocations: 105.5 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01398, allocations: 8.062 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01399, allocations: 0 / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.01402, allocations: 7.984 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01412, allocations: 12 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01413, allocations: 0 / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.01418, allocations: 8 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01419, allocations: 7.938 kB / 383.8 MB, free: 12.23 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 (10): * Single equations (assignments): 10 * 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.0001452/0.01434, allocations: 129.7 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.01438, allocations: 15.95 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.01468, allocations: 118.4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01468, allocations: 3.938 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01469, allocations: 0 / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01469, allocations: 0 / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.01523, allocations: 346.9 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01523, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.01528, allocations: 15.98 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01529, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.0153, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.0153, allocations: 4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0153, allocations: 4.031 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.01561, allocations: 220.2 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01564, allocations: 11.94 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.01566, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.01575, allocations: 8 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.0158, allocations: 11.92 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01581, allocations: 4 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.01596, allocations: 130.2 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01596, allocations: 4 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000329/0.01629, allocations: 47.86 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002564/0.01885, allocations: 0.598 MB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01905, allocations: 63.91 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01905, allocations: 0 / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.01914, allocations: 31.92 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.0195, allocations: 39.09 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.02002, allocations: 209.3 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02013, allocations: 81.45 kB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.02021, allocations: 25.2 kB / 385.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.02027, allocations: 28.48 kB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.02027, allocations: 0 / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.006586/0.02686, allocations: 2.52 MB / 388.4 MB, free: 7.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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: 5.1498341739643365]