Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001323/0.001323, 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.001509/0.001509, allocations: 206.1 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2281/0.2281, allocations: 46.94 MB / 361.7 MB, free: 4.223 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.91 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 66.03 MB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003579/0.3374, allocations: 1.932 MB / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3395, allocations: 1.159 MB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.3396, allocations: 7.938 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.34, allocations: 159.5 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.3404, allocations: 187.2 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3407, allocations: 115.7 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3411, allocations: 251.3 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3412, allocations: 23.78 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3414, allocations: 115.5 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3416, allocations: 143.5 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3416, allocations: 8 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3418, allocations: 67.97 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.3418, allocations: 55.77 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.3419, allocations: 87.3 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.3423, allocations: 219 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.067e-05/0.3424, allocations: 8 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3424, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3424, allocations: 0 / 0.5659 GB, free: 15.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007889/0.3432, allocations: 478.9 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3432, allocations: 12.03 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.3432, allocations: 8.062 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3433, allocations: 42.73 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.3433, allocations: 28.75 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.3437, allocations: 214.6 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3437, allocations: 8.125 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3437, allocations: 15.98 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.344, allocations: 114.2 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.344, allocations: 11.98 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.344, allocations: 0 / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.344, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3441, allocations: 51.91 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.3447, allocations: 431.8 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.3451, allocations: 113.2 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3452, allocations: 49.81 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3452, allocations: 160 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.3454, allocations: 125 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3454, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.3467, allocations: 0.4976 MB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3468, allocations: 81.11 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.3472, allocations: 372.5 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3472, allocations: 33.64 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3473, allocations: 152.5 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.3474, allocations: 71.38 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.3475, allocations: 41.72 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3476, allocations: 346.8 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3478, allocations: 55.97 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3479, allocations: 91.34 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.3482, allocations: 155.4 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3482, allocations: 0 / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00042/0.3486, allocations: 237.2 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3487, allocations: 8 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3487, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3487, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3488, allocations: 43.98 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3488, allocations: 11.98 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.3489, allocations: 12 kB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3489, allocations: 8 kB / 0.5697 GB, free: 11.77 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001652/0.3491, allocations: 162.3 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.3492, allocations: 35.75 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.3497, allocations: 259.8 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3498, allocations: 4 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3498, allocations: 4 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3498, allocations: 3.938 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009816/0.3507, allocations: 0.695 MB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3507, allocations: 4 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.3508, allocations: 32.05 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3508, allocations: 4 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3509, allocations: 8 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3509, allocations: 4 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3509, allocations: 3.938 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.3514, allocations: 431.7 kB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.3514, allocations: 19.86 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3514, allocations: 11.98 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3516, allocations: 4 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.3516, allocations: 23.91 kB / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.3517, allocations: 8 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.352, allocations: 287 kB / 0.5716 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 4 kB / 0.5716 GB, free: 9.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.3523, allocations: 43.94 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002709/0.355, allocations: 1.371 MB / 0.573 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.3554, allocations: 147.8 kB / 0.5731 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3554, allocations: 4 kB / 0.5731 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3556, allocations: 75.97 kB / 0.5732 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.3562, allocations: 65.89 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3596, allocations: 2.711 MB / 0.5759 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3601, allocations: 0.7601 MB / 0.5766 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.3602, allocations: 45.86 kB / 0.5767 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3604, allocations: 87.39 kB / 0.5768 GB, free: 4.41 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3604, allocations: 3.938 kB / 0.5768 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3909, allocations: 6.369 MB / 0.583 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 18.14 kB / 0.583 GB, free: 14.11 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.188267131976318]