Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.002026/0.002026, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002021/0.002021, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.641/1.641, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.3577/0.3577, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.706e-05, allocations: 8.984 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003967/0.004005, allocations: 1.805 MB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.00741, allocations: 1.781 MB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.007549, allocations: 3.938 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.007935, allocations: 59.61 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.00852, allocations: 139.2 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.008882, allocations: 111.6 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.009253, allocations: 211.2 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.009306, allocations: 9.797 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.009562, allocations: 107.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.00984, allocations: 63.8 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.009883, allocations: 8 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.01022, allocations: 107.8 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.01033, allocations: 39.83 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.01042, allocations: 43.86 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.01095, allocations: 235.2 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01095, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01096, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.01096, allocations: 4 kB / 382 MB, free: 14.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009225/0.01188, allocations: 0.5223 MB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.01193, allocations: 12.03 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.01201, allocations: 16.84 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.01238, allocations: 188.3 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.01239, allocations: 8.375 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.01241, allocations: 4.375 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.01274, allocations: 168.3 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.01275, allocations: 192 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.01276, allocations: 384 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01277, allocations: 7.938 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.01289, allocations: 27.97 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.01319, allocations: 188.2 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.01353, allocations: 114.1 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.01364, allocations: 43.36 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.01366, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.01393, allocations: 120.3 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01393, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000531/0.01446, allocations: 161.5 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.01458, allocations: 140.5 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.01498, allocations: 318.7 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01501, allocations: 25.7 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01514, allocations: 170.9 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.01519, allocations: 23.86 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.01527, allocations: 43.36 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003235/0.01559, allocations: 0.5079 MB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.01568, allocations: 27.98 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.01586, allocations: 133.5 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.01605, allocations: 90.73 kB / 385 MB, free: 10.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01605, allocations: 7.875 kB / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000306/0.01636, allocations: 137.5 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01638, allocations: 4 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01638, allocations: 4.094 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.0164, allocations: 4 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01652, allocations: 24.55 kB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.01653, allocations: 7.938 kB / 385.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.01662, allocations: 15.92 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01663, allocations: 4 kB / 385.2 MB, free: 10.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001553/0.01678, allocations: 168.6 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.01684, allocations: 23.86 kB / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.01721, allocations: 158.7 kB / 385.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01721, allocations: 8 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01722, allocations: 3.938 kB / 385.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01722, allocations: 0 / 385.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.01746, allocations: 184.5 kB / 385.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01747, allocations: 0 / 385.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.01751, allocations: 12 kB / 385.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01752, allocations: 0 / 385.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01753, allocations: 4 kB / 385.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01754, allocations: 3.984 kB / 385.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.01754, allocations: 3.938 kB / 385.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.01792, allocations: 207.8 kB / 386 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.01796, allocations: 19.91 kB / 386 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.018, allocations: 4 kB / 386 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.01808, allocations: 11.97 kB / 386 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.01813, allocations: 11.92 kB / 386 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.01816, allocations: 12 kB / 386 MB, free: 9.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002684/0.01842, allocations: 217.8 kB / 386.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01842, allocations: 0 / 386.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.01874, allocations: 59.86 kB / 386.3 MB, free: 9.348 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003493/0.02223, allocations: 0.5269 MB / 386.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.02253, allocations: 99.64 kB / 386.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02253, allocations: 0 / 386.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.02266, allocations: 51.61 kB / 387 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.02308, allocations: 65.91 kB / 387.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.02382, allocations: 298.3 kB / 387.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.02395, allocations: 115.6 kB / 387.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.02405, allocations: 25.47 kB / 387.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.02414, allocations: 32.48 kB / 387.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02414, allocations: 0 / 387.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of Templates: time 0.009221/0.03336, allocations: 3.442 MB / 391 MB, free: 4.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.204995446954854]