Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001337/0.001337, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001441/0.001441, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2411/0.2411, allocations: 46.94 MB / 361.6 MB, free: 4.281 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.89 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3538, allocations: 66.03 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003876/0.3577, allocations: 1.992 MB / 0.5634 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3599, allocations: 1.209 MB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.36, allocations: 11.88 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.3607, allocations: 195.4 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.3612, allocations: 211.2 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.3616, allocations: 163.5 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.3619, allocations: 271.2 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.362, allocations: 16.59 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3622, allocations: 115.5 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3624, allocations: 119.6 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3624, allocations: 12 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3625, allocations: 71.83 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.3626, allocations: 51.83 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3627, allocations: 87.5 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.3631, allocations: 248.6 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3631, allocations: 4 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3631, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3631, allocations: 0 / 0.5661 GB, free: 15.68 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008664/0.3639, allocations: 0.4945 MB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.364, allocations: 8.031 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.197e-05/0.364, allocations: 192 / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.364, allocations: 34.75 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.3641, allocations: 24.8 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.3645, allocations: 242.5 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3645, allocations: 8.125 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3645, allocations: 4 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3648, allocations: 108.2 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3648, allocations: 3.938 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3648, allocations: 4 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3648, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3649, allocations: 43.95 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3655, allocations: 348.7 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3658, allocations: 109.2 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3659, allocations: 49.69 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3659, allocations: 4.062 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.3662, allocations: 113 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 3.397e-06/0.3662, allocations: 3.984 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004978/0.3667, allocations: 181.9 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.3667, allocations: 110.8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.3672, allocations: 360.4 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3672, allocations: 29.7 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3673, allocations: 140.1 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3673, allocations: 31.73 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.3674, allocations: 33.7 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3676, allocations: 338.8 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.3677, allocations: 35.98 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3678, allocations: 80 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.368, allocations: 95.36 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.368, allocations: 4.031 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002886/0.3683, allocations: 149.4 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3683, allocations: 8 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3683, allocations: 0 / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3683, allocations: 0 / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3684, allocations: 23.98 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3684, allocations: 3.938 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.3685, allocations: 19.83 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3686, allocations: 12.06 kB / 0.5692 GB, free: 12.21 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001443/0.3687, allocations: 149.8 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.3687, allocations: 27.81 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3692, allocations: 163.6 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3692, allocations: 7.984 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3692, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3692, allocations: 3.938 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3694, allocations: 224.6 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3694, allocations: 4 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.3695, allocations: 11.98 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3695, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3695, allocations: 4 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3695, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3695, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3698, allocations: 193.6 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.3699, allocations: 31.73 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.3699, allocations: 4 kB / 0.57 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.37, allocations: 11.98 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3701, allocations: 11.92 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3701, allocations: 4 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3704, allocations: 263 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3704, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3706, allocations: 32 kB / 0.5703 GB, free: 11 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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): 7 * 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.002157/0.3728, allocations: 1.031 MB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3731, allocations: 91.89 kB / 0.5714 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3731, allocations: 4.125 kB / 0.5714 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3732, allocations: 47.91 kB / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3737, allocations: 79.83 kB / 0.5716 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3767, allocations: 2.332 MB / 0.5738 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3771, allocations: 0.7518 MB / 0.5746 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3772, allocations: 33.92 kB / 0.5746 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3774, allocations: 71.41 kB / 0.5747 GB, free: 6.562 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3774, allocations: 7.875 kB / 0.5747 GB, free: 6.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.4032, allocations: 6.006 MB / 0.5805 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 15.94 kB / 0.5806 GB, free: 0.6211 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 15.063464656006545]