Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001949/0.001949, 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.001556/0.001556, allocations: 217.2 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8 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.2398/0.2398, allocations: 46.93 MB / 360.9 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3455, allocations: 66.03 MB / 0.5607 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004118/0.3496, allocations: 2.298 MB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3521, allocations: 1.342 MB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3523, allocations: 7.938 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.3527, allocations: 147.2 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005845/0.3533, allocations: 250.9 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.3537, allocations: 199.5 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000571/0.3543, allocations: 462.7 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3544, allocations: 55.25 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.355, allocations: 350.9 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3552, allocations: 175.1 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3552, allocations: 16 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3554, allocations: 71.97 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.3556, allocations: 159.3 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.3558, allocations: 206.3 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3563, allocations: 485.4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3563, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3563, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3563, allocations: 4 kB / 0.5668 GB, free: 14.4 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.00122/0.3576, allocations: 0.8418 MB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3576, allocations: 8.031 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.3577, allocations: 54.67 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3578, allocations: 72.47 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.3584, allocations: 377.7 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3584, allocations: 12.31 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.3584, allocations: 31.83 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.3588, allocations: 197.5 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3589, allocations: 0 / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3589, allocations: 8 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3589, allocations: 3.984 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3591, allocations: 95.86 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3601, allocations: 0.793 MB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.3608, allocations: 238.5 kB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.361, allocations: 83.52 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.361, allocations: 4 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.3614, allocations: 204.2 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3614, allocations: 4 kB / 0.5697 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002548/0.364, allocations: 1.19 MB / 0.5708 GB, free: 9.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.3641, allocations: 136.5 kB / 0.571 GB, free: 9.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3652, allocations: 0.9652 MB / 0.5719 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3653, allocations: 37.7 kB / 0.572 GB, free: 8.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.3655, allocations: 273 kB / 0.5722 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3657, allocations: 146.8 kB / 0.5724 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3658, allocations: 86.02 kB / 0.5724 GB, free: 8.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.366, allocations: 322 kB / 0.5727 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.3663, allocations: 112.8 kB / 0.5728 GB, free: 7.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.3666, allocations: 187.1 kB / 0.573 GB, free: 7.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.3672, allocations: 319.1 kB / 0.5733 GB, free: 7.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3672, allocations: 0 / 0.5733 GB, free: 7.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008296/0.368, allocations: 444.8 kB / 0.5738 GB, free: 6.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.368, allocations: 8 kB / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.368, allocations: 4.062 kB / 0.5738 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3681, allocations: 8 kB / 0.5738 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.3684, allocations: 91.83 kB / 0.5739 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3684, allocations: 7.938 kB / 0.5739 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3686, allocations: 15.98 kB / 0.5739 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.3686, allocations: 20 kB / 0.5739 GB, free: 6.738 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.0003602/0.3689, allocations: 256 kB / 0.5741 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3691, allocations: 79.48 kB / 0.5742 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3701, allocations: 0.5085 MB / 0.5747 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3701, allocations: 7.938 kB / 0.5747 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3701, allocations: 7.938 kB / 0.5747 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3701, allocations: 3.984 kB / 0.5747 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3724, allocations: 1.302 MB / 0.576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3724, allocations: 0 / 0.576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3725, allocations: 55.92 kB / 0.5761 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.3725, allocations: 8.25 kB / 0.5761 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.3726, allocations: 19.98 kB / 0.5761 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-05/0.3726, allocations: 8 kB / 0.5761 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.3726, allocations: 11.88 kB / 0.5761 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3738, allocations: 0.7967 MB / 0.5769 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.374, allocations: 115.4 kB / 0.577 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.3741, allocations: 15.98 kB / 0.577 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3744, allocations: 23.98 kB / 0.577 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3745, allocations: 31.89 kB / 0.5771 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3746, allocations: 27.98 kB / 0.5771 GB, free: 3.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009404/0.3755, allocations: 0.7021 MB / 0.5778 GB, free: 2.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 3.938 kB / 0.5778 GB, free: 2.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006063/0.3761, allocations: 91.94 kB / 0.5779 GB, free: 2.535 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 (44): * Single equations (assignments): 36 * 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.003529/0.3796, allocations: 1.767 MB / 0.5796 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.3803, allocations: 303.7 kB / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3803, allocations: 0 / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3807, allocations: 148.4 kB / 0.58 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.3816, allocations: 130.3 kB / 0.5802 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.3894, allocations: 5.127 MB / 0.5852 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.39, allocations: 0.9172 MB / 0.5861 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.3903, allocations: 83.3 kB / 0.5861 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.3906, allocations: 215.3 kB / 0.5863 GB, free: 9.812 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3906, allocations: 0.75 kB / 0.5863 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.4358, allocations: 11.92 MB / 0.598 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.11, allocations: 7.5 kB / 0.598 GB, free: 14 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.223324458813295]