Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001362/0.001362, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001635/0.001635, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2268/0.2268, allocations: 46.92 MB / 361.5 MB, free: 4.195 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 80.16 kB / 0.4975 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3378, allocations: 66.08 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003219/0.341, allocations: 1.764 MB / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3429, allocations: 1.056 MB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.343, allocations: 4 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.3434, allocations: 87.69 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.3437, allocations: 119.5 kB / 0.565 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3439, allocations: 83.66 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3441, allocations: 111.7 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3442, allocations: 23.97 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3444, allocations: 59.77 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3445, allocations: 59.75 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3445, allocations: 7.938 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3446, allocations: 63.97 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.3447, allocations: 23.91 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3447, allocations: 39.69 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.345, allocations: 137.8 kB / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.345, allocations: 0 / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.345, allocations: 0 / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.345, allocations: 0 / 0.5656 GB, free: 0.6016 MB / 398.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.0005926/0.3456, allocations: 389.2 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3456, allocations: 8.031 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3456, allocations: 16.84 kB / 0.566 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3459, allocations: 154.3 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.346, allocations: 4.312 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.346, allocations: 4.375 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3461, allocations: 65.97 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3461, allocations: 4 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3462, allocations: 0 / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3462, allocations: 0 / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.3462, allocations: 23.92 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.3467, allocations: 279.8 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.3469, allocations: 58.55 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.347, allocations: 20.98 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.347, allocations: 3.938 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.3471, allocations: 71.38 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3471, allocations: 0 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007414/0.3479, allocations: 245.2 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3479, allocations: 55.41 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3482, allocations: 227.5 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3482, allocations: 25.7 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.3482, allocations: 108.1 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.3483, allocations: 35.73 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3483, allocations: 21.72 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3485, allocations: 334.8 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.3486, allocations: 24 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.3486, allocations: 57.62 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3488, allocations: 69.72 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3488, allocations: 4 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.349, allocations: 133.5 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.349, allocations: 4 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.349, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.349, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.3491, allocations: 32.02 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3491, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3492, allocations: 11.94 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3492, allocations: 4 kB / 0.5679 GB, free: 13.95 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001223/0.3493, allocations: 139 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3493, allocations: 11.91 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3496, allocations: 143 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3496, allocations: 11.92 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3496, allocations: 4 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3496, allocations: 3.938 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.3502, allocations: 423.2 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3502, allocations: 0 / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.3502, allocations: 12 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3502, allocations: 3.938 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3503, allocations: 7.938 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3503, allocations: 3.984 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3503, allocations: 4.062 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.3505, allocations: 229.4 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.3506, allocations: 15.84 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3506, allocations: 7.984 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.3506, allocations: 4 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3507, allocations: 19.92 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3507, allocations: 4 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3509, allocations: 169.1 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3509, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3511, allocations: 35.92 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001865/0.353, allocations: 0.4973 MB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3532, allocations: 83.84 kB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3532, allocations: 0 / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.3533, allocations: 35.92 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3536, allocations: 46.12 kB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.3542, allocations: 298.2 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3546, allocations: 0.7121 MB / 0.5708 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.3546, allocations: 23.42 kB / 0.5708 GB, free: 11.06 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3546, allocations: 0 / 0.5708 GB, free: 11.06 MB / 414.1 MB Notification: Performance of Templates: time 0.004486/0.3591, allocations: 2.236 MB / 0.573 GB, free: 8.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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: 7.591482616961002]