Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001283/0.001283, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001368/0.001368, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2391/0.2391, allocations: 46.94 MB / 360.9 MB, free: 4.242 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 0.4962 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 66.03 MB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003373/0.3447, allocations: 1.845 MB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3466, allocations: 1.116 MB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.3467, allocations: 3.938 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.3472, allocations: 311.3 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.3476, allocations: 259.2 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.3479, allocations: 111.6 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3482, allocations: 267.2 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.3483, allocations: 5.812 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.3485, allocations: 135.5 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3487, allocations: 219.4 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3488, allocations: 8 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3489, allocations: 51.97 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.3491, allocations: 139.6 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.3492, allocations: 154.7 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3497, allocations: 376 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3497, allocations: 4 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3497, allocations: 4 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3497, allocations: 0 / 0.5656 GB, free: 15.44 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.001036/0.3507, allocations: 0.6824 MB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3508, allocations: 8.031 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.3508, allocations: 42.69 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.3509, allocations: 48.61 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.3516, allocations: 402.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3516, allocations: 4.375 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3516, allocations: 7.938 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3518, allocations: 91.34 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3518, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3518, allocations: 8 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3518, allocations: 3.938 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3519, allocations: 31.97 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3524, allocations: 353.4 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3526, allocations: 101.1 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.3527, allocations: 45.69 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.3528, allocations: 3.984 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.353, allocations: 112.9 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.353, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005026/0.3535, allocations: 201.2 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3535, allocations: 77.11 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.3548, allocations: 1.058 MB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3548, allocations: 33.7 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.355, allocations: 232.1 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.355, allocations: 31.8 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.3551, allocations: 29.72 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3553, allocations: 366.8 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.3554, allocations: 35.97 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3555, allocations: 55.42 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3557, allocations: 91.34 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3557, allocations: 7.938 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003027/0.356, allocations: 169.8 kB / 0.5697 GB, free: 10.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.356, allocations: 11.94 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.356, allocations: 0 / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.356, allocations: 3.938 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3562, allocations: 23.98 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3562, allocations: 0 / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.3563, allocations: 15.92 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3563, allocations: 8.062 kB / 0.5698 GB, free: 10.84 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002597/0.3565, allocations: 225.7 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.3566, allocations: 55.62 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.357, allocations: 193.8 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.357, allocations: 7.984 kB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.357, allocations: 0 / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.357, allocations: 0 / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.3574, allocations: 324.5 kB / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3574, allocations: 4 kB / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.3574, allocations: 8 kB / 0.5706 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3574, allocations: 4 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3575, allocations: 3.984 kB / 0.5706 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3575, allocations: 4 kB / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3575, allocations: 0 / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3578, allocations: 221.4 kB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3579, allocations: 67.59 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.358, allocations: 4 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.3581, allocations: 8.172 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3581, allocations: 15.98 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3581, allocations: 7.938 kB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008529/0.359, allocations: 0.7839 MB / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.359, allocations: 0 / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3593, allocations: 43.98 kB / 0.5717 GB, free: 8.797 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002076/0.3613, allocations: 1.058 MB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.3616, allocations: 79.89 kB / 0.5728 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3617, allocations: 4.125 kB / 0.5728 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3618, allocations: 40.17 kB / 0.5729 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.3622, allocations: 80.08 kB / 0.5729 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.368, allocations: 4.563 MB / 0.5774 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.3685, allocations: 0.8545 MB / 0.5782 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3687, allocations: 58.94 kB / 0.5783 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3689, allocations: 155.4 kB / 0.5784 GB, free: 1.91 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3689, allocations: 0 / 0.5784 GB, free: 1.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.4067, allocations: 9.377 MB / 0.5876 GB, free: 8.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.91, allocations: 18.39 kB / 0.5876 GB, free: 8.605 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.972777489107102]