Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001268/0.001268, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001394/0.001394, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.2498/0.2498, allocations: 46.94 MB / 361.7 MB, free: 4.223 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 66.03 MB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003193/0.3511, allocations: 1.775 MB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3529, allocations: 1.045 MB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.3529, allocations: 7.938 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3532, allocations: 87.69 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3536, allocations: 119.6 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3538, allocations: 87.66 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.354, allocations: 127.6 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3541, allocations: 17.94 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3542, allocations: 51.78 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3543, allocations: 75.73 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3544, allocations: 4 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3545, allocations: 63.97 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.3545, allocations: 27.84 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.3546, allocations: 39.69 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.3549, allocations: 143.4 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3549, allocations: 4 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3549, allocations: 0 / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3549, allocations: 0 / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005912/0.3555, allocations: 377.3 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3555, allocations: 12.03 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.3555, allocations: 192 / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.3556, allocations: 30.75 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.3556, allocations: 16.84 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.3559, allocations: 171 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.356, allocations: 8.125 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.356, allocations: 11.94 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3562, allocations: 53.67 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3562, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3562, allocations: 4 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3562, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.3563, allocations: 19.98 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3567, allocations: 279.8 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3569, allocations: 54.55 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.357, allocations: 20.97 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.357, allocations: 4 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3572, allocations: 79.39 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3572, allocations: 3.938 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008047/0.358, allocations: 245.1 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3581, allocations: 55.41 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3583, allocations: 231 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3583, allocations: 29.7 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.3584, allocations: 112.1 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.3585, allocations: 39.72 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3585, allocations: 25.72 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3587, allocations: 330.8 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.3588, allocations: 28 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.3588, allocations: 49.69 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.359, allocations: 73.59 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.359, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002627/0.3592, allocations: 137.5 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3593, allocations: 4 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3593, allocations: 0 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3593, allocations: 3.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.3594, allocations: 23.98 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3594, allocations: 0.7031 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.3594, allocations: 12 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3594, allocations: 4 kB / 0.5675 GB, free: 14.02 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 (13): * Single equations (assignments): 13 * 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.0001219/0.3595, allocations: 133.9 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3596, allocations: 15.84 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.3599, allocations: 154.9 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3599, allocations: 7.922 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3599, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3599, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.3604, allocations: 427.1 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3604, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3605, allocations: 12 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3605, allocations: 4 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3605, allocations: 3.984 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3605, allocations: 4 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3605, allocations: 0 / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3608, allocations: 241.1 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.3608, allocations: 15.84 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3608, allocations: 7.984 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.3609, allocations: 8 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.361, allocations: 7.984 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.361, allocations: 4 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3611, allocations: 175.2 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3614, allocations: 31.94 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002473/0.3639, allocations: 1.18 MB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3641, allocations: 79.84 kB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3641, allocations: 0 / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.3642, allocations: 35.92 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3645, allocations: 37.22 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3668, allocations: 1.853 MB / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3671, allocations: 0.7119 MB / 0.5725 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.3672, allocations: 24.62 kB / 0.5725 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.3673, allocations: 43.42 kB / 0.5726 GB, free: 8.789 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3673, allocations: 0 / 0.5726 GB, free: 8.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3907, allocations: 4.165 MB / 0.5766 GB, free: 4.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 18.33 kB / 0.5767 GB, free: 4.695 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.761547819012776]