Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001323/0.001323, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.0015/0.0015, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2396/0.2396, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.91 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003374/0.3658, allocations: 1.675 MB / 0.5623 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3677, allocations: 0.947 MB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.3677, allocations: 4 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.3681, allocations: 83.7 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.3685, allocations: 111.6 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3687, allocations: 83.66 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3689, allocations: 111.6 kB / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3689, allocations: 4.234 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.369, allocations: 51.77 kB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3691, allocations: 59.75 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3692, allocations: 8 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.029e-05/0.3693, allocations: 35.98 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3693, allocations: 23.86 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.3694, allocations: 31.78 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3696, allocations: 105.4 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3696, allocations: 4 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3696, allocations: 0 / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3697, allocations: 0 / 0.5639 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006095/0.3703, allocations: 353.5 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3703, allocations: 8.031 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.3704, allocations: 38.73 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.3704, allocations: 16.84 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3707, allocations: 150.3 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3707, allocations: 4.375 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3707, allocations: 7.875 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3709, allocations: 49.67 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3709, allocations: 0 / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3709, allocations: 0 / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3709, allocations: 0 / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.371, allocations: 19.92 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.3713, allocations: 156.8 kB / 0.5647 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3714, allocations: 58.55 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.3715, allocations: 20.84 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3715, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3717, allocations: 63.39 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3717, allocations: 3.938 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.372, allocations: 101.6 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.372, allocations: 51.41 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.3723, allocations: 227.5 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3723, allocations: 25.7 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3724, allocations: 108.1 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.3724, allocations: 19.86 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.3725, allocations: 21.72 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3726, allocations: 322.8 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.3727, allocations: 19.98 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.3728, allocations: 25.72 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3729, allocations: 49.89 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3729, allocations: 7.938 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001759/0.373, allocations: 97.44 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3731, allocations: 8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3731, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3731, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.3732, allocations: 8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3732, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.3732, allocations: 11.98 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.3732, allocations: 4 kB / 0.5659 GB, free: 14.66 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 (7): * Single equations (assignments): 7 * 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.0001297/0.3734, allocations: 126.3 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3734, allocations: 19.89 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3736, allocations: 98.7 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3736, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3736, allocations: 3.938 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3736, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3738, allocations: 160.7 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3738, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3738, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3738, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3739, allocations: 3.984 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3739, allocations: 4 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3739, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3741, allocations: 133 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.3741, allocations: 15.91 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3741, allocations: 0 / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.3742, allocations: 4 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3742, allocations: 3.984 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3742, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.3745, allocations: 169.1 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3745, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3747, allocations: 31.92 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002149/0.3768, allocations: 0.9955 MB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.377, allocations: 35.98 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.377, allocations: 0 / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.3771, allocations: 27.92 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3774, allocations: 35 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3795, allocations: 1.577 MB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.3796, allocations: 92.12 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.3797, allocations: 12.48 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3798, allocations: 35.42 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3798, allocations: 0 / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4132, allocations: 3.937 MB / 0.5732 GB, free: 7.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 21.31 kB / 0.5732 GB, free: 7.168 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.64781865105033]