Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 89.22 kB / 20.69 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 157.6 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.795e-05, allocations: 4.672 kB / 442.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003032/0.00306, allocations: 1.716 MB / 444.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.004939, allocations: 0.9697 MB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.005006, allocations: 7.938 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.00527, allocations: 39.81 kB / 445.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.005575, allocations: 99.42 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.005769, allocations: 75.61 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.005951, allocations: 111.6 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.006027, allocations: 7.938 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.006146, allocations: 59.81 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.006221, allocations: 23.92 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.006241, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.006334, allocations: 43.92 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.006389, allocations: 23.91 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.006433, allocations: 19.94 kB / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.006646, allocations: 119.5 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006648, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006649, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006653, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 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.0005235/0.007177, allocations: 337.6 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007209, allocations: 12.02 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.007251, allocations: 12.89 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.00749, allocations: 149.5 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.007505, allocations: 8.375 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.007524, allocations: 384 / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.007677, allocations: 62.17 kB / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.007689, allocations: 192 / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.007698, allocations: 384 / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.007704, allocations: 3.938 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.007786, allocations: 19.98 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.00816, allocations: 228.6 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.008349, allocations: 58.61 kB / 446.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.008414, allocations: 28.84 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.008429, allocations: 0 / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.0086, allocations: 75.33 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.008601, allocations: 3.938 kB / 447 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000589/0.00919, allocations: 177.3 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.009239, allocations: 59.41 kB / 447.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.009442, allocations: 188 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.009466, allocations: 25.7 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.009548, allocations: 108.1 kB / 447.6 MB, free: 184 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.009579, allocations: 23.8 kB / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.009628, allocations: 25.7 kB / 447.6 MB, free: 128 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1887/0.1983, allocations: 319.4 kB / 447.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1984, allocations: 19.98 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.1985, allocations: 45.25 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1986, allocations: 63.39 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1986, allocations: 0 / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002268/0.1988, allocations: 106 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1989, allocations: 4.531 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1989, allocations: 3.344 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1989, allocations: 1.094 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.199, allocations: 17.94 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.199, allocations: 1.562 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.1991, allocations: 3.172 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1991, allocations: 3.719 kB / 448.2 MB, free: 18.91 MB / 366.1 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 9.317e-05/0.1992, allocations: 132.7 kB / 448.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1992, allocations: 12.78 kB / 448.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1994, allocations: 124.1 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1994, allocations: 1.656 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1994, allocations: 3.938 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1994, allocations: 1.828 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1998, allocations: 344.9 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1998, allocations: 1 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.1999, allocations: 10.97 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1999, allocations: 1.875 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1999, allocations: 12.84 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1999, allocations: 2.594 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1999, allocations: 1.031 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2001, allocations: 213.6 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.2001, allocations: 11.77 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2001, allocations: 9.688 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.2002, allocations: 3.641 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.2003, allocations: 9.688 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2003, allocations: 4.922 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.74e-05/0.2004, allocations: 146 kB / 449.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2004, allocations: 0 / 449.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000267/0.2007, allocations: 26.62 kB / 449.3 MB, free: 18.29 MB / 366.1 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.001779/0.2024, allocations: 498.2 kB / 449.7 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2026, allocations: 56.84 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2026, allocations: 0 / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.2027, allocations: 32.78 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2031, allocations: 28.42 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.2035, allocations: 233.1 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.275e-05/0.2036, allocations: 87.3 kB / 450.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.2036, allocations: 20.84 kB / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.2037, allocations: 16.89 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2037, allocations: 3.938 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005231/0.2089, allocations: 1.835 MB / 452.1 MB, free: 17.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.855214796960354]