Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001427/0.001427, allocations: 113.4 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.001584/0.001584, allocations: 214.4 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.416/1.416, allocations: 230.6 MB / 257.5 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.2345/0.2345, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.89 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 66.04 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003406/0.3341, allocations: 1.932 MB / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3361, allocations: 1.151 MB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.3362, allocations: 3.938 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3366, allocations: 231.3 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.3371, allocations: 211.2 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3374, allocations: 127.6 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.3377, allocations: 255.3 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3378, allocations: 23.72 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.338, allocations: 127.6 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3382, allocations: 167.4 kB / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.3383, allocations: 15.98 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3384, allocations: 59.98 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.3385, allocations: 63.7 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3386, allocations: 95.41 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3389, allocations: 238.8 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3389, allocations: 4 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3389, allocations: 0 / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3389, allocations: 0 / 0.5653 GB, free: 15.74 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.0007586/0.3397, allocations: 0.5031 MB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3397, allocations: 12.03 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.3398, allocations: 38.73 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.3399, allocations: 36.73 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3403, allocations: 234.4 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3403, allocations: 8.375 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.3403, allocations: 11.94 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3406, allocations: 114.1 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3406, allocations: 0 / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.3406, allocations: 11.98 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3406, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3407, allocations: 47.91 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.3414, allocations: 448 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.3417, allocations: 113.2 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3418, allocations: 45.83 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3419, allocations: 4 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3421, allocations: 117 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3421, allocations: 0 / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001356/0.3435, allocations: 0.5093 MB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.3436, allocations: 77.11 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3441, allocations: 448.5 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3441, allocations: 33.7 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3442, allocations: 156.5 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/0.3443, allocations: 71.42 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.3444, allocations: 45.64 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3446, allocations: 354.8 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3447, allocations: 55.97 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3449, allocations: 95.28 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.3452, allocations: 171.3 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3452, allocations: 0 / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003947/0.3456, allocations: 229.3 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3456, allocations: 4 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3456, allocations: 4 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3456, allocations: 0 / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.3458, allocations: 47.91 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3458, allocations: 0 / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.3458, allocations: 16.02 kB / 0.5692 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3459, allocations: 12 kB / 0.5692 GB, free: 11.48 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.0001878/0.346, allocations: 174.3 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3461, allocations: 35.75 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.3466, allocations: 264.4 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3467, allocations: 4 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3467, allocations: 0 / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3467, allocations: 0 / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3477, allocations: 0.7029 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3477, allocations: 4 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.3478, allocations: 31.92 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3478, allocations: 3.984 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3478, allocations: 12.11 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3478, allocations: 8 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3478, allocations: 3.938 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.3484, allocations: 422 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3484, allocations: 39.69 kB / 0.5708 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.3485, allocations: 4 kB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3486, allocations: 11.94 kB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.3487, allocations: 27.84 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3487, allocations: 15.98 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.3491, allocations: 331 kB / 0.5712 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3491, allocations: 4 kB / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.3495, allocations: 47.94 kB / 0.5713 GB, free: 9.254 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.003011/0.3525, allocations: 1.372 MB / 0.5726 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.353, allocations: 147.7 kB / 0.5728 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.353, allocations: 0 / 0.5728 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3531, allocations: 76.22 kB / 0.5728 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.3537, allocations: 57.39 kB / 0.5729 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.358, allocations: 2.881 MB / 0.5757 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3584, allocations: 0.7753 MB / 0.5764 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3586, allocations: 46.28 kB / 0.5765 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3587, allocations: 99.39 kB / 0.5766 GB, free: 3.836 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3587, allocations: 0 / 0.5766 GB, free: 3.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3922, allocations: 6.69 MB / 0.5831 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.57, allocations: 3.938 kB / 0.5831 GB, free: 13.23 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.537064915988594]