Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001738/0.001738, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002025/0.002025, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2295/0.2295, allocations: 46.92 MB / 360.9 MB, free: 4.258 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.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 67.91 kB / 0.4962 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3425, allocations: 66.03 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003161/0.3457, allocations: 1.745 MB / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3483, allocations: 1.743 MB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.3483, allocations: 4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.3486, allocations: 39.77 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.349, allocations: 99.53 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3492, allocations: 79.67 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3493, allocations: 99.75 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.3494, allocations: 17.75 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3496, allocations: 55.72 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3497, allocations: 39.84 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3497, allocations: 4 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.3499, allocations: 107.9 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.35, allocations: 31.84 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.35, allocations: 27.81 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3504, allocations: 171.3 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3504, allocations: 0 / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3504, allocations: 0 / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3504, allocations: 0 / 0.5649 GB, free: 176 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.0006801/0.3511, allocations: 353.5 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3511, allocations: 12.03 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.3511, allocations: 38.62 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3512, allocations: 16.84 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3515, allocations: 160.3 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.3515, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3515, allocations: 4 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3517, allocations: 75.33 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3517, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3517, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3517, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.3518, allocations: 27.92 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.3522, allocations: 259.9 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3524, allocations: 50.69 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.3524, allocations: 20.84 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3524, allocations: 4 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3526, allocations: 71.33 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.546e-06/0.3526, allocations: 3.984 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.3531, allocations: 173.4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3532, allocations: 81.05 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3534, allocations: 170.1 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3534, allocations: 25.7 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.3535, allocations: 104.1 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3535, allocations: 27.73 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3535, allocations: 25.72 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3537, allocations: 318.8 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.3538, allocations: 23.98 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.3538, allocations: 42.56 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3539, allocations: 61.67 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.354, allocations: 0 / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.3541, allocations: 101.6 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3542, allocations: 4 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3542, allocations: 0 / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3542, allocations: 4 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.3543, allocations: 19.92 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3543, allocations: 160 / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.3543, allocations: 8.031 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3543, allocations: 7.984 kB / 0.5671 GB, free: 13.7 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.0001254/0.3545, allocations: 125 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3545, allocations: 7.953 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.3547, allocations: 114.2 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3547, allocations: 3.938 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3547, allocations: 4 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3547, allocations: 3.938 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.3552, allocations: 374.3 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3552, allocations: 3.938 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.3553, allocations: 8 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3553, allocations: 0 / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3553, allocations: 4 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3553, allocations: 0 / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3553, allocations: 3.984 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3555, allocations: 208.3 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3556, allocations: 11.89 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3556, allocations: 0 / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3556, allocations: 8.375 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.3557, allocations: 7.984 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3557, allocations: 8 kB / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3558, allocations: 123.2 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3558, allocations: 0 / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3561, allocations: 51.86 kB / 0.5681 GB, free: 12.57 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.002397/0.3585, allocations: 1.185 MB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3587, allocations: 59.91 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3587, allocations: 3.938 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.3588, allocations: 27.98 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3592, allocations: 25.97 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3611, allocations: 1.604 MB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3614, allocations: 0.6924 MB / 0.5716 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.3615, allocations: 24.95 kB / 0.5716 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.3616, allocations: 43.41 kB / 0.5717 GB, free: 8.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3616, allocations: 0 / 0.5717 GB, free: 8.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.3936, allocations: 4.197 MB / 0.5758 GB, free: 4.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.19, allocations: 8 kB / 0.5758 GB, free: 4.805 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.11247197794728]