Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001274/0.001274, allocations: 113.1 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.001539/0.001539, allocations: 215.7 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2243/0.2243, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 71.89 kB / 0.4962 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3339, allocations: 66.03 MB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003551/0.3375, allocations: 1.749 MB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3403, allocations: 1.739 MB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.3403, allocations: 3.938 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3406, allocations: 35.77 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.341, allocations: 99.53 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3412, allocations: 75.73 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3414, allocations: 123.7 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.3415, allocations: 13.77 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3417, allocations: 55.77 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3418, allocations: 43.83 kB / 0.5646 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3419, allocations: 4 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.3421, allocations: 111.9 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.3422, allocations: 19.92 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.3422, allocations: 43.72 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3426, allocations: 179.3 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3426, allocations: 0 / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3426, allocations: 4 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3426, allocations: 0 / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006619/0.3432, allocations: 361.4 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3433, allocations: 12.03 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.3433, allocations: 38.73 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.3434, allocations: 8.891 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3437, allocations: 150.3 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3437, allocations: 8.312 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3437, allocations: 3.938 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3439, allocations: 83.38 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3439, allocations: 3.953 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3439, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.344, allocations: 3.984 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/0.344, allocations: 27.98 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.3445, allocations: 267.9 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3447, allocations: 74.55 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.3447, allocations: 28.78 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3448, allocations: 0 / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3449, allocations: 71.39 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3449, allocations: 4 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006623/0.3456, allocations: 201.7 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.3456, allocations: 85.09 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3458, allocations: 174.1 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3458, allocations: 25.7 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.3459, allocations: 100.1 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3459, allocations: 27.75 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.346, allocations: 29.7 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3461, allocations: 326.8 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.3462, allocations: 23.98 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3463, allocations: 54.5 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3464, allocations: 65.64 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3464, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.3467, allocations: 121.6 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3467, allocations: 4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3467, allocations: 80 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3467, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.3468, allocations: 23.98 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3468, allocations: 3.984 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.3469, allocations: 8.125 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.3469, allocations: 4 kB / 0.5672 GB, free: 13.52 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 (11): * Single equations (assignments): 11 * 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.0001134/0.347, allocations: 137.7 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.347, allocations: 11.98 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.3473, allocations: 122.3 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3473, allocations: 3.938 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3473, allocations: 4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3473, allocations: 7.922 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.3478, allocations: 386.3 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3478, allocations: 0 / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3478, allocations: 11.98 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3478, allocations: 7.969 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3479, allocations: 8 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3479, allocations: 0 / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3479, allocations: 0 / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3481, allocations: 216.3 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.3482, allocations: 11.91 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.3482, allocations: 7.938 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.3483, allocations: 8 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3483, allocations: 7.984 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3483, allocations: 4 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.3485, allocations: 136.1 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3485, allocations: 0 / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.3488, allocations: 43.86 kB / 0.5683 GB, free: 12.31 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.002489/0.3513, allocations: 1.2 MB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3515, allocations: 75.89 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3515, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.3516, allocations: 31.98 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.352, allocations: 37.27 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3539, allocations: 1.653 MB / 0.5712 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3542, allocations: 0.7045 MB / 0.5719 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.3543, allocations: 24.56 kB / 0.5719 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3544, allocations: 43.36 kB / 0.572 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3544, allocations: 384 / 0.572 GB, free: 8.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3881, allocations: 4.367 MB / 0.5762 GB, free: 4.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.3, allocations: 10.56 kB / 0.5763 GB, free: 4.285 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.208881356054917]