Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009886/0.0009886, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.0009834/0.0009834, allocations: 160.5 kB / 24.55 MB, free: 20 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.07/1.07, allocations: 177 MB / 204.8 MB, free: 4.785 MB / 186.7 MB " [Timeout remaining time 179] 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.2821/0.2821, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 266.7 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.668e-05/4.87e-05, allocations: 8.359 kB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004351/0.004399, allocations: 2.265 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.006747, allocations: 1.305 MB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.006991, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.007456, allocations: 131.2 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.008078, allocations: 254.8 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.008603, allocations: 195.4 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.009304, allocations: 470.5 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.009459, allocations: 41.25 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.009969, allocations: 351.1 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.01014, allocations: 135.5 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.01018, allocations: 20 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.01035, allocations: 71.92 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01051, allocations: 147.5 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.01062, allocations: 91.58 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.01109, allocations: 346.4 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.01109, allocations: 0 / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.01109, allocations: 0 / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.0111, allocations: 4 kB / 384.6 MB, free: 12.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001271/0.01237, allocations: 0.872 MB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.01242, allocations: 12.03 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01254, allocations: 72.52 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.01292, allocations: 357.2 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.01295, allocations: 20.36 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.01299, allocations: 12.38 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.01326, allocations: 185.6 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.01328, allocations: 12.12 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.0133, allocations: 4.375 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01331, allocations: 7.938 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.01341, allocations: 63.86 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.01418, allocations: 0.9258 MB / 387.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.01465, allocations: 240.4 kB / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.01474, allocations: 74.84 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01476, allocations: 8 kB / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.01499, allocations: 197.4 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.015, allocations: 4 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001821/0.01682, allocations: 1.058 MB / 388.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.01688, allocations: 136.5 kB / 388.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.01736, allocations: 0.6559 MB / 389.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.0174, allocations: 33.7 kB / 389.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.01756, allocations: 319.7 kB / 389.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.01766, allocations: 154.8 kB / 390 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.01774, allocations: 79.81 kB / 390.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01793, allocations: 0.5586 MB / 390.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.01803, allocations: 68.95 kB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.01818, allocations: 162.4 kB / 390.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.01844, allocations: 245.7 kB / 391.1 MB, free: 5.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01844, allocations: 8 kB / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004084/0.01885, allocations: 377.1 kB / 391.5 MB, free: 4.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.01887, allocations: 4 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.01888, allocations: 4 kB / 391.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.0189, allocations: 4 kB / 391.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.01906, allocations: 91.83 kB / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.01907, allocations: 4 kB / 391.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.01916, allocations: 20.12 kB / 391.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.01918, allocations: 19.98 kB / 391.6 MB, free: 4.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001335/0.01932, allocations: 186.9 kB / 391.8 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.0194, allocations: 91.5 kB / 391.9 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.0199, allocations: 430.5 kB / 392.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.01991, allocations: 4 kB / 392.3 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01992, allocations: 7.984 kB / 392.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01992, allocations: 0 / 392.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.02098, allocations: 1.394 MB / 393.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02098, allocations: 0 / 393.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.02109, allocations: 67.86 kB / 393.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.0211, allocations: 11.98 kB / 393.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.02112, allocations: 12 kB / 393.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.02112, allocations: 4 kB / 393.8 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.02113, allocations: 4 kB / 393.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.02174, allocations: 0.981 MB / 394.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.02185, allocations: 99.45 kB / 394.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.0219, allocations: 19.94 kB / 394.9 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.02204, allocations: 15.98 kB / 395 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.02211, allocations: 39.94 kB / 395 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.02214, allocations: 27.92 kB / 395 MB, free: 1.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.02245, allocations: 443 kB / 395.5 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.02245, allocations: 0 / 395.5 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.02281, allocations: 87.94 kB / 395.5 MB, free: 0.7695 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001479/0.02429, allocations: 499.5 kB / 396 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.02464, allocations: 248.5 kB / 396.3 MB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02464, allocations: 0 / 396.3 MB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.02479, allocations: 144.9 kB / 396.4 MB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.02542, allocations: 154.2 kB / 396.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02658, allocations: 0.9451 MB / 397.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.0267, allocations: 154.1 kB / 397.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.02686, allocations: 75.25 kB / 397.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.02695, allocations: 56.47 kB / 397.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.02695, allocations: 0 / 397.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Templates: time 0.009737/0.03669, allocations: 6.219 MB / 404 MB, free: 8.453 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.4312007348053157]