Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001724/0.001724, 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.001901/0.001901, 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2288/0.2288, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 75.86 kB / 0.4962 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 66.03 MB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003492/0.3478, allocations: 1.728 MB / 0.5624 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3497, allocations: 0.9715 MB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.3498, allocations: 0 / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.3502, allocations: 111.7 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.3506, allocations: 123.6 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3508, allocations: 83.66 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3511, allocations: 123.6 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3512, allocations: 17.8 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3513, allocations: 63.7 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.3515, allocations: 67.78 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3516, allocations: 4 kB / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3517, allocations: 67.92 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-05/0.3518, allocations: 31.84 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.3519, allocations: 39.67 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3522, allocations: 147.4 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3522, allocations: 0 / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3522, allocations: 0 / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3522, allocations: 0 / 0.5641 GB, free: 0.6328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006945/0.3529, allocations: 381.3 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.353, allocations: 12.03 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.353, allocations: 30.75 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.353, allocations: 20.84 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3534, allocations: 166.4 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3534, allocations: 4.375 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3535, allocations: 11.88 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3536, allocations: 65.59 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3536, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3537, allocations: 8 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3537, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.3538, allocations: 19.98 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3542, allocations: 275.8 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3545, allocations: 66.55 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.3546, allocations: 20.97 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3546, allocations: 0 / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.3548, allocations: 71.38 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3548, allocations: 0 / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008634/0.3557, allocations: 261.2 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3557, allocations: 55.34 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.356, allocations: 250.8 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.356, allocations: 33.69 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3561, allocations: 116.1 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.3562, allocations: 35.7 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.3562, allocations: 29.7 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3564, allocations: 326.8 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3565, allocations: 27.98 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/0.3566, allocations: 49.69 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3567, allocations: 81.59 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3567, allocations: 4 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/0.357, allocations: 129.7 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.357, allocations: 7.984 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.357, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.357, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.3571, allocations: 27.88 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3571, allocations: 3.938 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.3572, allocations: 11.98 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3572, allocations: 0 / 0.5666 GB, free: 13.87 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 (13): * Single equations (assignments): 13 * 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.0001303/0.3573, allocations: 137.9 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3573, allocations: 15.91 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3577, allocations: 163 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3577, allocations: 3.938 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3577, allocations: 0 / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3577, allocations: 0 / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.3583, allocations: 435.1 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3583, allocations: 4 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.3584, allocations: 19.98 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3584, allocations: 4.062 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3584, allocations: 8 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3584, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3584, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3587, allocations: 253 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.3587, allocations: 11.91 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3588, allocations: 0 / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.3588, allocations: 8 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.3589, allocations: 7.984 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3589, allocations: 7.984 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.3591, allocations: 200.2 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3594, allocations: 31.94 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002696/0.3621, allocations: 1.225 MB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3623, allocations: 79.84 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3623, allocations: 0 / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.3624, allocations: 43.98 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3628, allocations: 37.7 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.3652, allocations: 1.906 MB / 0.5711 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3653, allocations: 101.1 kB / 0.5712 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.824e-05/0.3654, allocations: 24.62 kB / 0.5712 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.3655, allocations: 47.42 kB / 0.5713 GB, free: 9.125 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3655, allocations: 0 / 0.5713 GB, free: 9.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3971, allocations: 4.706 MB / 0.5759 GB, free: 4.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.34, allocations: 11.02 kB / 0.5759 GB, free: 4.48 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.382879085838795]