Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2508/0.2508, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 66.03 MB / 0.5619 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00313/0.3353, allocations: 1.724 MB / 0.5636 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3371, allocations: 0.9637 MB / 0.5645 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3371, allocations: 7.875 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3374, allocations: 47.77 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3377, allocations: 91.59 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3379, allocations: 79.67 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3381, allocations: 95.77 kB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.3382, allocations: 11.97 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.3383, allocations: 47.73 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.3383, allocations: 35.78 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3384, allocations: 4 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3385, allocations: 43.97 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.3385, allocations: 19.92 kB / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.3386, allocations: 31.81 kB / 0.565 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3388, allocations: 121.9 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3388, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3388, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3388, allocations: 3.938 kB / 0.5651 GB, free: 0.8633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005685/0.3394, allocations: 353.5 kB / 0.5655 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3394, allocations: 8.031 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3394, allocations: 12.89 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3397, allocations: 147 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3397, allocations: 4.375 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3398, allocations: 12.11 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3399, allocations: 57.67 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3399, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3399, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3399, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.34, allocations: 23.92 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3404, allocations: 232.6 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3406, allocations: 58.67 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.3406, allocations: 20.86 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3407, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.3408, allocations: 79.22 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3408, allocations: 0 / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.3414, allocations: 185.3 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3414, allocations: 51.41 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3417, allocations: 198.3 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3417, allocations: 33.64 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3418, allocations: 108.1 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3418, allocations: 19.8 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3418, allocations: 33.7 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.342, allocations: 330.7 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.3421, allocations: 23.98 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.3421, allocations: 33.7 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3423, allocations: 65.64 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3423, allocations: 384 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002077/0.3425, allocations: 105.5 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3425, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3425, allocations: 4.031 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3425, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.3426, allocations: 19.98 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3426, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3427, allocations: 8 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3427, allocations: 0 / 0.5673 GB, free: 14.49 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 (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.0001204/0.3428, allocations: 133.8 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3428, allocations: 11.91 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.3431, allocations: 119 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3431, allocations: 4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3431, allocations: 4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3431, allocations: 3.984 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3436, allocations: 342.9 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3436, allocations: 7.984 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.3436, allocations: 15.92 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3436, allocations: 0 / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3436, allocations: 0 / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3436, allocations: 4 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3436, allocations: 3.938 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3439, allocations: 224.5 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.3439, allocations: 11.94 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.344, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.3441, allocations: 8 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3441, allocations: 11.92 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3441, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3442, allocations: 156.2 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3442, allocations: 0 / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3445, allocations: 23.94 kB / 0.5683 GB, free: 13.34 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: 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.001885/0.3464, allocations: 498.1 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3466, allocations: 59.91 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3466, allocations: 0 / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.3467, allocations: 31.92 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.347, allocations: 38.38 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.3475, allocations: 242.7 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3476, allocations: 92.17 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3477, allocations: 8.984 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.3477, allocations: 23.36 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3477, allocations: 4 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.005138/0.3529, allocations: 1.93 MB / 0.5711 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.1055377300072]