Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001301/0.001301, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001532/0.001532, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.012 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.2213/0.2213, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.89 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 66.04 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003513/0.3359, allocations: 1.932 MB / 0.5626 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.338, allocations: 1.159 MB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3381, allocations: 0 / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.3387, allocations: 251.3 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.3391, allocations: 243.1 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3394, allocations: 119.6 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.3398, allocations: 275.3 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3399, allocations: 19.8 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.3402, allocations: 143.4 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.3405, allocations: 211.4 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3405, allocations: 12 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3406, allocations: 59.98 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3408, allocations: 71.69 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3409, allocations: 95.23 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.3412, allocations: 250.7 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3412, allocations: 4 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3412, allocations: 0 / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3412, allocations: 0 / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000819/0.3421, allocations: 0.5235 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3421, allocations: 12.03 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3422, allocations: 42.73 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.3422, allocations: 36.75 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3426, allocations: 236.8 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3427, allocations: 8.375 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3427, allocations: 7.938 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3429, allocations: 115.3 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3429, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.343, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.343, allocations: 3.938 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3431, allocations: 47.97 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.3437, allocations: 455.9 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.3441, allocations: 113.2 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.3442, allocations: 41.83 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.3443, allocations: 7.938 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3445, allocations: 125 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.976e-06/0.3445, allocations: 7.922 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001316/0.3458, allocations: 0.5091 MB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3459, allocations: 85.05 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.3464, allocations: 0.4899 MB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3464, allocations: 33.7 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3466, allocations: 164.5 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.3466, allocations: 79.41 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.3467, allocations: 41.7 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3469, allocations: 350.8 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.347, allocations: 51.98 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3471, allocations: 99.33 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3474, allocations: 163.5 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3474, allocations: 0 / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004003/0.3478, allocations: 237.2 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3478, allocations: 8 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3478, allocations: 8 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3479, allocations: 4 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.348, allocations: 39.98 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.348, allocations: 4 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.3481, allocations: 11.98 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3481, allocations: 8 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001863/0.3483, allocations: 174.3 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3484, allocations: 39.7 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.3489, allocations: 272.6 kB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3489, allocations: 4 kB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3489, allocations: 0 / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3489, allocations: 0 / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009761/0.3499, allocations: 0.7184 MB / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3499, allocations: 4 kB / 0.5706 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.35, allocations: 27.98 kB / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.35, allocations: 192 / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.35, allocations: 15.94 kB / 0.5707 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.35, allocations: 3.938 kB / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.35, allocations: 7.938 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3505, allocations: 422 kB / 0.5711 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3505, allocations: 35.81 kB / 0.5711 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3506, allocations: 4 kB / 0.5711 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3507, allocations: 15.92 kB / 0.5711 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3508, allocations: 27.91 kB / 0.5712 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3508, allocations: 8 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000397/0.3512, allocations: 375.1 kB / 0.5715 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3512, allocations: 0 / 0.5715 GB, free: 8.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.3516, allocations: 51.92 kB / 0.5716 GB, free: 8.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002743/0.3543, allocations: 1.366 MB / 0.5729 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3547, allocations: 163.7 kB / 0.5731 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3547, allocations: 0 / 0.5731 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3549, allocations: 71.83 kB / 0.5731 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3554, allocations: 63.5 kB / 0.5732 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3593, allocations: 3.003 MB / 0.5761 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3598, allocations: 0.7894 MB / 0.5769 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.3599, allocations: 41.92 kB / 0.5769 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3601, allocations: 103.4 kB / 0.577 GB, free: 3.375 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3601, allocations: 0 / 0.577 GB, free: 3.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.3956, allocations: 6.902 MB / 0.5838 GB, free: 12.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 10.38 kB / 0.5838 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.546211081789806]