Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001852/0.001852, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002776/0.002776, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.462/1.462, 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.2269/0.2269, allocations: 46.95 MB / 360.9 MB, free: 4.016 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.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.91 kB / 0.4962 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 66.04 MB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003703/0.3386, allocations: 2.168 MB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.341, allocations: 1.268 MB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3412, allocations: 7.938 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.3416, allocations: 127.3 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.3421, allocations: 246.9 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3425, allocations: 195.5 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.343, allocations: 466.6 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3432, allocations: 43.08 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.3435, allocations: 299.1 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3437, allocations: 163.1 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3438, allocations: 20 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3439, allocations: 71.98 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3441, allocations: 135.4 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3442, allocations: 146.8 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.3448, allocations: 449.7 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3448, allocations: 3.938 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3448, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3448, allocations: 4 kB / 0.5663 GB, free: 14.38 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001092/0.3459, allocations: 0.7527 MB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3459, allocations: 12.03 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.346, allocations: 46.73 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.3461, allocations: 72.44 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.3466, allocations: 343.3 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3466, allocations: 8.375 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.3467, allocations: 27.89 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.3471, allocations: 201.4 kB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3471, allocations: 4 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3471, allocations: 4 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3471, allocations: 4 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.3474, allocations: 99.86 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.3483, allocations: 0.7578 MB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.349, allocations: 250.4 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3492, allocations: 87.52 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3492, allocations: 4 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.3496, allocations: 208.2 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.3496, allocations: 4 kB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002619/0.3522, allocations: 1.168 MB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.3523, allocations: 132.5 kB / 0.5704 GB, free: 9.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.3533, allocations: 0.8165 MB / 0.5712 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.3533, allocations: 37.7 kB / 0.5712 GB, free: 9.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3536, allocations: 249 kB / 0.5714 GB, free: 8.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3537, allocations: 154.8 kB / 0.5716 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3538, allocations: 82.08 kB / 0.5717 GB, free: 8.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.354, allocations: 378.8 kB / 0.572 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3543, allocations: 112.8 kB / 0.5721 GB, free: 8.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.3546, allocations: 187.2 kB / 0.5723 GB, free: 7.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.3552, allocations: 330.8 kB / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3552, allocations: 0 / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008114/0.356, allocations: 448.9 kB / 0.573 GB, free: 7.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.356, allocations: 7.984 kB / 0.5731 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.356, allocations: 4 kB / 0.5731 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.356, allocations: 4 kB / 0.5731 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.3563, allocations: 87.97 kB / 0.5731 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3563, allocations: 19.92 kB / 0.5732 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3565, allocations: 15.94 kB / 0.5732 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.3565, allocations: 19.98 kB / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002742/0.3568, allocations: 240.1 kB / 0.5734 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3569, allocations: 67.53 kB / 0.5735 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.358, allocations: 0.5184 MB / 0.574 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.358, allocations: 8 kB / 0.574 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.358, allocations: 7.938 kB / 0.574 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.358, allocations: 3.984 kB / 0.574 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.36, allocations: 1.29 MB / 0.5753 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.36, allocations: 4 kB / 0.5753 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3602, allocations: 67.91 kB / 0.5753 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.3602, allocations: 8.25 kB / 0.5754 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3602, allocations: 12 kB / 0.5754 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3602, allocations: 7.984 kB / 0.5754 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.3602, allocations: 11.88 kB / 0.5754 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3612, allocations: 0.8202 MB / 0.5762 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.3614, allocations: 111.4 kB / 0.5763 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.3615, allocations: 16 kB / 0.5763 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.3618, allocations: 15.98 kB / 0.5763 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3619, allocations: 47.88 kB / 0.5764 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.3619, allocations: 23.98 kB / 0.5764 GB, free: 3.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006784/0.3626, allocations: 0.5966 MB / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3626, allocations: 0 / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.3631, allocations: 91.94 kB / 0.5771 GB, free: 2.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003326/0.3665, allocations: 1.835 MB / 0.5789 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.3672, allocations: 310.7 kB / 0.5791 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3672, allocations: 11.88 kB / 0.5792 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.3675, allocations: 164.4 kB / 0.5793 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.3684, allocations: 130.7 kB / 0.5794 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.3751, allocations: 4.789 MB / 0.5841 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3754, allocations: 293 kB / 0.5844 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.3756, allocations: 79.25 kB / 0.5845 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.3759, allocations: 191.4 kB / 0.5847 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3759, allocations: 0 / 0.5847 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.4173, allocations: 11.97 MB / 0.5963 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.98, allocations: 11.88 kB / 0.5964 GB, free: 15.23 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.078879951033741]