Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001856/0.001856, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002004/0.002004, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.593/1.593, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 71.89 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3465, allocations: 65.47 MB / 0.5578 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004552/0.351, allocations: 1.858 MB / 0.5596 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3534, allocations: 1.077 MB / 0.5607 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3535, allocations: 4 kB / 0.5607 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.3541, allocations: 227.3 kB / 0.5609 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.3548, allocations: 219.2 kB / 0.5611 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3552, allocations: 119.6 kB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.3557, allocations: 259.2 kB / 0.5615 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3558, allocations: 23.72 kB / 0.5615 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.356, allocations: 127.5 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.3562, allocations: 167.4 kB / 0.5618 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3563, allocations: 16 kB / 0.5618 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3564, allocations: 67.97 kB / 0.5619 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3565, allocations: 59.7 kB / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.3566, allocations: 67.48 kB / 0.562 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.357, allocations: 250.8 kB / 0.5622 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.357, allocations: 3.984 kB / 0.5622 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.357, allocations: 0 / 0.5622 GB, free: 2.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.357, allocations: 0 / 0.5622 GB, free: 2.969 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008114/0.3578, allocations: 0.4964 MB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3579, allocations: 12.03 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.3579, allocations: 8.125 kB / 0.5627 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.3579, allocations: 38.73 kB / 0.5628 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.358, allocations: 32.75 kB / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.3584, allocations: 222.5 kB / 0.563 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3584, allocations: 8.125 kB / 0.563 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3585, allocations: 11.94 kB / 0.563 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3587, allocations: 114 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3588, allocations: 4 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3588, allocations: 3.984 kB / 0.5631 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3588, allocations: 4 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3589, allocations: 47.97 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.3597, allocations: 439.8 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.3601, allocations: 129.1 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3602, allocations: 41.81 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3602, allocations: 4 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.3605, allocations: 121 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3605, allocations: 0 / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00151/0.362, allocations: 0.5242 MB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3621, allocations: 81.11 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.3627, allocations: 452.5 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.3627, allocations: 33.69 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3629, allocations: 164.5 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/0.363, allocations: 71.42 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.363, allocations: 49.7 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3632, allocations: 342.8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3633, allocations: 59.97 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3635, allocations: 99.22 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3638, allocations: 159.6 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3638, allocations: 7.938 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004316/0.3642, allocations: 253.1 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3642, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3642, allocations: 0 / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3643, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3644, allocations: 43.91 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3644, allocations: 4 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.3645, allocations: 11.95 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3645, allocations: 8 kB / 0.5662 GB, free: 14.66 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.000171/0.3647, allocations: 174.3 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3647, allocations: 35.81 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.3653, allocations: 289.1 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3653, allocations: 4 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3653, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3654, allocations: 3.984 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3664, allocations: 0.6991 MB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3664, allocations: 3.984 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.3665, allocations: 36.06 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3665, allocations: 7.984 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3666, allocations: 8 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3666, allocations: 0 / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3666, allocations: 7.938 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.3672, allocations: 439.4 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3672, allocations: 27.77 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.3673, allocations: 11.98 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3674, allocations: 11.94 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3675, allocations: 35.91 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.3675, allocations: 12.17 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003889/0.3679, allocations: 339 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 3.938 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.3683, allocations: 47.94 kB / 0.5683 GB, free: 12.39 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 (24): * Single equations (assignments): 20 * 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.003126/0.3714, allocations: 1.428 MB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.3718, allocations: 155.8 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3719, allocations: 0 / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.372, allocations: 87.83 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.3726, allocations: 60.86 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.3766, allocations: 2.905 MB / 0.5728 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3768, allocations: 170.1 kB / 0.573 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3769, allocations: 45.91 kB / 0.573 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.377, allocations: 95.39 kB / 0.5731 GB, free: 7.527 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.377, allocations: 0 / 0.5731 GB, free: 7.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4045, allocations: 6.968 MB / 0.5799 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.16, allocations: 12.8 kB / 0.5799 GB, free: 0.6445 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 15.538806902943179]