Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001836/0.001836, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00212/0.00212, allocations: 208.7 kB / 23.73 MB, free: 4.379 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2312/0.2312, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 71.89 kB / 0.4962 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.357, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003097/0.3601, allocations: 1.71 MB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3618, allocations: 0.9676 MB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.3619, allocations: 0 / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.3622, allocations: 47.77 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3625, allocations: 95.53 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3627, allocations: 79.72 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.3629, allocations: 111.6 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.363, allocations: 5.828 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.363, allocations: 47.8 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.3631, allocations: 35.77 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.3631, allocations: 4 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.3632, allocations: 39.98 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.3633, allocations: 31.84 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.3633, allocations: 27.75 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3636, allocations: 131.4 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3636, allocations: 0 / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3636, allocations: 0 / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3636, allocations: 0 / 0.5639 GB, free: 0.8477 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.0005662/0.3641, allocations: 353.5 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3642, allocations: 8.031 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.3642, allocations: 38.75 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3642, allocations: 8.891 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3645, allocations: 158.2 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3645, allocations: 384 / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3646, allocations: 11.94 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3647, allocations: 53.66 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3647, allocations: 0 / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3647, allocations: 4 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3647, allocations: 8 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.3648, allocations: 19.98 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.3652, allocations: 255.9 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3654, allocations: 62.61 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.3655, allocations: 20.84 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.3655, allocations: 0 / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3656, allocations: 71.33 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3656, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.3662, allocations: 189.3 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3662, allocations: 51.41 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3665, allocations: 222.6 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3665, allocations: 33.7 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.3666, allocations: 104.1 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3666, allocations: 23.84 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.3667, allocations: 33.64 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3668, allocations: 322.8 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.3669, allocations: 20 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.3669, allocations: 33.7 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3671, allocations: 69.77 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3671, allocations: 384 / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.3673, allocations: 105.7 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3673, allocations: 8 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3673, allocations: 3.938 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3673, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.3674, allocations: 23.97 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3674, allocations: 3.938 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.3675, allocations: 15.91 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3675, allocations: 8 kB / 0.5661 GB, free: 14.34 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.0001057/0.3676, allocations: 124.8 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3676, allocations: 15.91 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.3679, allocations: 123 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3679, allocations: 4 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3679, allocations: 0 / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3679, allocations: 3.938 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3684, allocations: 366.4 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3684, allocations: 4.031 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.3684, allocations: 15.98 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3684, allocations: 3.938 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3685, allocations: 4 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3685, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3685, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3687, allocations: 212.2 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.3687, allocations: 15.88 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3688, allocations: 11.94 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.3688, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3689, allocations: 11.98 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3689, allocations: 4 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3691, allocations: 159.2 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3691, allocations: 3.938 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3693, allocations: 23.98 kB / 0.5672 GB, free: 13.16 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.002249/0.3716, allocations: 1.132 MB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3718, allocations: 67.89 kB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3718, allocations: 0 / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.3718, allocations: 31.97 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3722, allocations: 34.08 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3741, allocations: 1.701 MB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3742, allocations: 100.6 kB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.3743, allocations: 16.53 kB / 0.5702 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3743, allocations: 43.41 kB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3743, allocations: 0 / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.4025, allocations: 4.207 MB / 0.5744 GB, free: 5.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.09, allocations: 21.88 kB / 0.5744 GB, free: 5.953 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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: 14.127150704996893]