Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001716/0.001716, 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.002463/0.002463, allocations: 217 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2343/0.2343, allocations: 46.94 MB / 360.9 MB, free: 4.27 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 66.03 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003443/0.3506, allocations: 1.755 MB / 0.5624 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.3535, allocations: 1.746 MB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.3536, allocations: 0 / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3539, allocations: 31.77 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.3542, allocations: 103.5 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3545, allocations: 75.67 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3547, allocations: 107.7 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.3548, allocations: 17.81 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3549, allocations: 47.73 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3551, allocations: 43.83 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3551, allocations: 8 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.3553, allocations: 111.9 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.3554, allocations: 23.8 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.3554, allocations: 35.8 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3557, allocations: 171.3 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3557, allocations: 3.984 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3557, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3558, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005936/0.3563, allocations: 345.5 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3564, allocations: 12.03 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.3564, allocations: 42.69 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3565, allocations: 12.84 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3568, allocations: 154.7 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3569, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3569, allocations: 7.938 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3571, allocations: 63.39 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3571, allocations: 0 / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3571, allocations: 12 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3571, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.3572, allocations: 19.92 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.3575, allocations: 267.9 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3577, allocations: 46.69 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3578, allocations: 24.84 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3578, allocations: 0 / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.358, allocations: 71.33 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.358, allocations: 0 / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.3585, allocations: 177.4 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3586, allocations: 81.05 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3588, allocations: 166.1 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3588, allocations: 33.7 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3589, allocations: 96.12 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3589, allocations: 27.75 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3589, allocations: 25.7 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3591, allocations: 318.8 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3592, allocations: 19.98 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.3592, allocations: 50.56 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3594, allocations: 57.64 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3594, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.3596, allocations: 101.8 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3596, allocations: 8 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3596, allocations: 3.938 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3596, allocations: 3.984 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.3597, allocations: 15.94 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3597, allocations: 8.062 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.3597, allocations: 0 / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3597, allocations: 4 kB / 0.567 GB, free: 13.76 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 (10): * Single equations (assignments): 10 * 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.0001167/0.3599, allocations: 125.8 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3599, allocations: 11.94 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3601, allocations: 114.5 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3601, allocations: 3.938 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3601, allocations: 3.938 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3602, allocations: 4 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.3606, allocations: 374.3 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3606, allocations: 3.938 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3607, allocations: 8 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3607, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3607, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3607, allocations: 7.984 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3607, allocations: 0 / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.361, allocations: 204.3 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.361, allocations: 11.89 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.361, allocations: 0 / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.3611, allocations: 4.375 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3611, allocations: 7.984 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3611, allocations: 4 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.3612, allocations: 135.2 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3615, allocations: 39.88 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002415/0.364, allocations: 1.204 MB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3641, allocations: 55.92 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3641, allocations: 0 / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.3642, allocations: 23.98 kB / 0.5693 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3646, allocations: 33.17 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3664, allocations: 1.601 MB / 0.5709 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3668, allocations: 0.6924 MB / 0.5716 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.3668, allocations: 25.27 kB / 0.5716 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3669, allocations: 35.41 kB / 0.5716 GB, free: 9.031 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3669, allocations: 0 / 0.5716 GB, free: 9.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.3987, allocations: 4.206 MB / 0.5758 GB, free: 4.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.37, allocations: 18.55 kB / 0.5758 GB, free: 4.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.38289119885303]