Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001551/0.001551, 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.001641/0.001641, 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.449/1.449, 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.2252/0.2252, allocations: 46.94 MB / 360.9 MB, free: 4.246 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.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.91 kB / 0.4962 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 66.03 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002989/0.3477, allocations: 1.745 MB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3493, allocations: 1.049 MB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.3494, allocations: 0 / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3497, allocations: 55.75 kB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.35, allocations: 111.5 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3502, allocations: 71.75 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3503, allocations: 107.7 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.3504, allocations: 5.828 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3505, allocations: 55.72 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.3506, allocations: 31.84 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3506, allocations: 4 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.3507, allocations: 39.98 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.3508, allocations: 35.78 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.3509, allocations: 43.67 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3511, allocations: 139.4 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3511, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3511, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3511, allocations: 0 / 0.5641 GB, free: 0.9375 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005737/0.3517, allocations: 381.2 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3517, allocations: 8.031 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.3517, allocations: 38.73 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3518, allocations: 16.84 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.352, allocations: 167.2 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3521, allocations: 384 / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3521, allocations: 3.938 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3522, allocations: 57.67 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3522, allocations: 0 / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3522, allocations: 4 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3522, allocations: 0 / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.3523, allocations: 19.98 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3527, allocations: 271.8 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.3529, allocations: 58.67 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.3529, allocations: 20.86 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3529, allocations: 3.984 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.3531, allocations: 75.31 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3531, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005123/0.3536, allocations: 173.3 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3536, allocations: 63.33 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3539, allocations: 282.7 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3539, allocations: 25.7 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.354, allocations: 120.1 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.354, allocations: 19.8 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3541, allocations: 29.7 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3542, allocations: 326.8 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.3543, allocations: 20.36 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.3543, allocations: 37.7 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3545, allocations: 61.66 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3545, allocations: 4 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3547, allocations: 105.5 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3547, allocations: 4 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3547, allocations: 3.938 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3547, allocations: 0 / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.3548, allocations: 23.92 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3548, allocations: 4.031 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3548, allocations: 7.938 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3548, allocations: 4.156 kB / 0.5664 GB, free: 14.33 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.0001586/0.355, allocations: 136.6 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.355, allocations: 15.91 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3553, allocations: 127 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3553, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3553, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3553, allocations: 7.938 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.3558, allocations: 374.4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3558, allocations: 4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.3558, allocations: 8 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3558, allocations: 7.922 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3558, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3558, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3558, allocations: 4 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.356, allocations: 204.3 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.3561, allocations: 11.91 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3561, allocations: 11.88 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3562, allocations: 4.172 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3562, allocations: 8 kB / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3562, allocations: 11.92 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3564, allocations: 200.6 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3564, allocations: 0 / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3567, allocations: 27.94 kB / 0.5676 GB, free: 13.1 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.002087/0.3587, allocations: 1.104 MB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3589, allocations: 59.95 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3589, allocations: 0 / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.359, allocations: 27.92 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3594, allocations: 33.59 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3614, allocations: 1.82 MB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3617, allocations: 0.7182 MB / 0.5712 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.3618, allocations: 16.97 kB / 0.5712 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.3618, allocations: 43.42 kB / 0.5713 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3618, allocations: 0 / 0.5713 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3915, allocations: 3.978 MB / 0.5752 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 3.938 kB / 0.5752 GB, free: 5.414 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.079497650964186]