Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001927/0.001927, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002075/0.002075, allocations: 160.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.626/1.626, allocations: 177 MB / 204.5 MB, free: 5.617 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.3654/0.3654, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.181e-05, allocations: 2.312 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003479/0.003511, allocations: 1.739 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.005536, allocations: 1.005 MB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.005606, allocations: 3.938 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.005914, allocations: 43.7 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.006268, allocations: 99.47 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.006494, allocations: 71.67 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.006704, allocations: 115.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.006797, allocations: 7.984 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.006911, allocations: 43.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.006998, allocations: 39.83 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.007021, allocations: 4 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.007132, allocations: 47.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.007194, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.007245, allocations: 19.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.0075, allocations: 115.6 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.007503, allocations: 0 / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007504, allocations: 0 / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007509, allocations: 0 / 380.7 MB, free: 15.44 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.0006738/0.008183, allocations: 451.5 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.00822, allocations: 8.031 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.008292, allocations: 20.84 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.008556, allocations: 161 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.008572, allocations: 4.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.008592, allocations: 384 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.008745, allocations: 54.23 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.008758, allocations: 192 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.008768, allocations: 384 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.008777, allocations: 11.92 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.008855, allocations: 15.98 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.009349, allocations: 295.7 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.00955, allocations: 71.09 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.00961, allocations: 19.69 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.00963, allocations: 3.984 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.009803, allocations: 76.98 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009804, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006354/0.01044, allocations: 169.4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.0105, allocations: 55.41 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.01079, allocations: 254.3 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.01082, allocations: 25.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01094, allocations: 162.8 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.01099, allocations: 31.77 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.01105, allocations: 31.38 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003154/0.01137, allocations: 0.5001 MB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.01143, allocations: 23.92 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.01152, allocations: 43.36 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01165, allocations: 59.38 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01165, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000234/0.01188, allocations: 109.9 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.01191, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01192, allocations: 8.031 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.01194, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01208, allocations: 19.94 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.01208, allocations: 4.141 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.01213, allocations: 4 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01215, allocations: 4 kB / 383.3 MB, free: 12.56 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.0001752/0.01232, allocations: 162.8 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.01237, allocations: 23.84 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.01267, allocations: 119 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01267, allocations: 0 / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01267, allocations: 4 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01268, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.01329, allocations: 420.9 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01329, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.01333, allocations: 12 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.01333, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.01335, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.01336, allocations: 7.984 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01336, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.0137, allocations: 263.4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.01372, allocations: 19.94 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.01375, allocations: 4 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.01382, allocations: 0 / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.01387, allocations: 11.92 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.01389, allocations: 8 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.01407, allocations: 175.1 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01407, allocations: 4 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.01434, allocations: 23.94 kB / 384.5 MB, free: 11.24 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.003377/0.01771, allocations: 488.5 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.01799, allocations: 79.53 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01799, allocations: 0 / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.01808, allocations: 39.61 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.01847, allocations: 28.09 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.01903, allocations: 234 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.01915, allocations: 96.3 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.01921, allocations: 21.25 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.01926, allocations: 16.5 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01926, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005948/0.02521, allocations: 1.873 MB / 387.4 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.042676158016548]