Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001245/0.001245, allocations: 113.2 kB / 20.43 MB, free: 1.309 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.001431/0.001431, allocations: 215.4 kB / 23.74 MB, free: 4.535 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.6/1.6, allocations: 230.6 MB / 257.5 MB, free: 7.965 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.2247/0.2247, allocations: 44.92 MB / 358.8 MB, free: 6.285 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",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.00207/0.00207, allocations: 63.89 kB / 0.4932 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 65.48 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003786/0.4063, allocations: 1.734 MB / 0.5588 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.4083, allocations: 1.057 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.4084, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.4087, allocations: 51.77 kB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.409, allocations: 99.53 kB / 0.56 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.4092, allocations: 87.59 kB / 0.5601 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.4094, allocations: 103.8 kB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4095, allocations: 9.766 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4096, allocations: 43.78 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.4097, allocations: 39.78 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4097, allocations: 4 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.4098, allocations: 43.98 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.4099, allocations: 31.84 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.41, allocations: 43.67 kB / 0.5604 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.4102, allocations: 143.4 kB / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4103, allocations: 0 / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4103, allocations: 0 / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4103, allocations: 0 / 0.5605 GB, free: 4.258 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.0006775/0.4109, allocations: 381.2 kB / 0.5609 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.411, allocations: 8.031 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.411, allocations: 38.75 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.4111, allocations: 16.83 kB / 0.5609 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.4114, allocations: 171 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4114, allocations: 4.375 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.4114, allocations: 3.938 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4116, allocations: 53.67 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4116, allocations: 0 / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4116, allocations: 3.938 kB / 0.5611 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4116, allocations: 4 kB / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.4117, allocations: 23.98 kB / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.4122, allocations: 271.9 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.4123, allocations: 62.61 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.4124, allocations: 20.8 kB / 0.5615 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4124, allocations: 0 / 0.5615 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.4126, allocations: 67.39 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4126, allocations: 0 / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005921/0.4132, allocations: 189.2 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.4133, allocations: 55.41 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.4136, allocations: 287.1 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4136, allocations: 25.7 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4137, allocations: 124.1 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.4138, allocations: 27.78 kB / 0.5623 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.4138, allocations: 21.72 kB / 0.5623 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.414, allocations: 326.8 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.414, allocations: 23.98 kB / 0.5626 GB, free: 1.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.4141, allocations: 37.64 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4143, allocations: 69.62 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4143, allocations: 0 / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.4145, allocations: 109.5 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4145, allocations: 4 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4145, allocations: 0 / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4145, allocations: 0 / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.4146, allocations: 19.98 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4146, allocations: 0 / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.4147, allocations: 3.938 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4147, allocations: 12.03 kB / 0.5629 GB, free: 1.633 MB / 398.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.0001296/0.4148, allocations: 137.8 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4148, allocations: 15.91 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.4151, allocations: 119 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4151, allocations: 3.984 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4151, allocations: 4 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4151, allocations: 3.938 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.4156, allocations: 378.4 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4156, allocations: 384 / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.4156, allocations: 8 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.4156, allocations: 7.938 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4156, allocations: 11.94 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4156, allocations: 0 / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4156, allocations: 320 / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4159, allocations: 212.2 kB / 0.5637 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.4159, allocations: 23.84 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4159, allocations: 7.938 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.416, allocations: 0 / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.416, allocations: 11.97 kB / 0.5638 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.416, allocations: 8 kB / 0.5638 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.4162, allocations: 212.6 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4162, allocations: 0 / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.4165, allocations: 23.94 kB / 0.564 GB, free: 380 kB / 398.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.002216/0.4187, allocations: 1.099 MB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.4189, allocations: 59.86 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4189, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.419, allocations: 19.98 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.4193, allocations: 27.98 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4215, allocations: 1.875 MB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4219, allocations: 0.7158 MB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.422, allocations: 25.27 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.4221, allocations: 43.42 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4221, allocations: 0 / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.4538, allocations: 4.032 MB / 0.5717 GB, free: 8.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.56, allocations: 0 / 0.5717 GB, free: 8.582 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.719242126913741]