Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001254/0.001254, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001496/0.001496, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.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.2163/0.2163, allocations: 46.9 MB / 361.3 MB, free: 4.434 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 80.09 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3636, allocations: 66.03 MB / 0.5616 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003809/0.3674, allocations: 1.846 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3704, allocations: 1.809 MB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.3705, allocations: 3.938 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.3708, allocations: 55.69 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.3712, allocations: 135.4 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3715, allocations: 107.6 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.3718, allocations: 211.3 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.3718, allocations: 9.797 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.372, allocations: 99.56 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3722, allocations: 83.67 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.3722, allocations: 8 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3725, allocations: 115.9 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.3725, allocations: 39.83 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3727, allocations: 59.61 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.3731, allocations: 233.6 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3731, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3731, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3731, allocations: 3.938 kB / 0.5663 GB, free: 15.8 MB / 414.1 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.0007731/0.3738, allocations: 429 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3739, allocations: 12.03 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.374, allocations: 16.84 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.3743, allocations: 198.1 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3744, allocations: 4.359 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3744, allocations: 4.375 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3746, allocations: 97.41 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3746, allocations: 4 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3746, allocations: 3.984 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3746, allocations: 0 / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3748, allocations: 31.92 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.375, allocations: 197.5 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.3753, allocations: 105.2 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3754, allocations: 37.7 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3754, allocations: 0 / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.3757, allocations: 120.9 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3757, allocations: 0 / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004767/0.3761, allocations: 169.4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.3762, allocations: 132.5 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.3765, allocations: 234.3 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3766, allocations: 33.7 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.3766, allocations: 116.1 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3767, allocations: 27.8 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.3767, allocations: 29.72 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3769, allocations: 330.8 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.377, allocations: 27.98 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3771, allocations: 77.12 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3773, allocations: 87.86 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3773, allocations: 0 / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000277/0.3776, allocations: 137.5 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3776, allocations: 8.094 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3776, allocations: 7.984 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3776, allocations: 0 / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3777, allocations: 23.94 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3777, allocations: 4 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.3778, allocations: 15.88 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3778, allocations: 4 kB / 0.5689 GB, free: 12.86 MB / 414.1 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.0001309/0.378, allocations: 138.3 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.378, allocations: 23.78 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.3783, allocations: 150.7 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3784, allocations: 0 / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3784, allocations: 4 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3784, allocations: 0 / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3786, allocations: 200.6 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3786, allocations: 0 / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.3786, allocations: 11.94 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3786, allocations: 0 / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3786, allocations: 4 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3786, allocations: 4 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3786, allocations: 0 / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3789, allocations: 178 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.379, allocations: 19.78 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.379, allocations: 12 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3791, allocations: 3.984 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3791, allocations: 11.98 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3791, allocations: 8 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.3793, allocations: 176.5 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3793, allocations: 0 / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3796, allocations: 55.86 kB / 0.5698 GB, free: 11.79 MB / 414.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: 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 (10): * Single equations (assignments): 6 * 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.001765/0.3814, allocations: 0.4905 MB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.3817, allocations: 75.91 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3817, allocations: 4.125 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3818, allocations: 31.98 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3822, allocations: 74.8 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.3827, allocations: 275.6 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3831, allocations: 0.7281 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.952e-05/0.3832, allocations: 29.97 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.3832, allocations: 27.42 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3832, allocations: 0 / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Templates: time 0.007148/0.3904, allocations: 3.165 MB / 0.5746 GB, free: 7.027 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.188186442479491]