Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001875/0.001875, allocations: 115.6 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.002343/0.002343, allocations: 213.9 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.953 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.2175/0.2175, allocations: 44.92 MB / 358.8 MB, free: 6.262 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.002036/0.002036, allocations: 63.91 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 65.48 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003964/0.3261, allocations: 1.729 MB / 0.5588 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3284, allocations: 1.056 MB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3285, allocations: 0 / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.3291, allocations: 55.75 kB / 0.5599 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.3295, allocations: 103.5 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3298, allocations: 79.67 kB / 0.5601 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.33, allocations: 107.7 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3301, allocations: 9.812 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3302, allocations: 39.8 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.3303, allocations: 43.77 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3304, allocations: 4 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3305, allocations: 39.98 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.3305, allocations: 31.84 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.3306, allocations: 39.69 kB / 0.5604 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3309, allocations: 139.4 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3309, allocations: 0 / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3309, allocations: 0 / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3309, allocations: 0 / 0.5605 GB, free: 4.254 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.0007432/0.3317, allocations: 385.2 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3317, allocations: 8.031 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.3318, allocations: 38.75 kB / 0.5609 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.3318, allocations: 12.84 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3322, allocations: 159.2 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3322, allocations: 8.375 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3322, allocations: 11.92 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3324, allocations: 57.67 kB / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3324, allocations: 0 / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3324, allocations: 0 / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3325, allocations: 0 / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.3325, allocations: 23.92 kB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.3331, allocations: 267.9 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3332, allocations: 54.67 kB / 0.5615 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.3333, allocations: 20.84 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3333, allocations: 3.938 kB / 0.5615 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.3335, allocations: 67.39 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3335, allocations: 4 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.3341, allocations: 185.3 kB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3341, allocations: 55.39 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.3344, allocations: 275.7 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3345, allocations: 29.7 kB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.3346, allocations: 116.1 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.3346, allocations: 27.78 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3347, allocations: 25.72 kB / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3348, allocations: 326.8 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.3349, allocations: 23.98 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.3349, allocations: 41.64 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3351, allocations: 61.72 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3351, allocations: 0 / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.3353, allocations: 117.5 kB / 0.5628 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3353, allocations: 4 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3353, allocations: 0 / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3353, allocations: 4 kB / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.3354, allocations: 15.98 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3354, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.3355, allocations: 11.94 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3355, allocations: 0 / 0.5628 GB, free: 1.648 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.000143/0.3356, allocations: 133.8 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3357, allocations: 19.94 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3359, allocations: 115 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3359, allocations: 384 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3359, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3359, allocations: 15.91 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.3364, allocations: 374.4 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3364, allocations: 0 / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.3365, allocations: 11.98 kB / 0.5635 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3365, allocations: 7.969 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3365, allocations: 8 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3365, allocations: 0 / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3365, allocations: 0 / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3368, allocations: 204.2 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.3368, allocations: 15.91 kB / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.3368, allocations: 7.922 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.3369, allocations: 8 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3369, allocations: 3.984 kB / 0.5637 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3369, allocations: 4 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3371, allocations: 204.6 kB / 0.5639 GB, free: 452 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3371, allocations: 192 / 0.5639 GB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3374, allocations: 27.92 kB / 0.5639 GB, free: 424 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.002127/0.3395, allocations: 1.108 MB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3397, allocations: 63.91 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3397, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3398, allocations: 20 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3401, allocations: 33.66 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3422, allocations: 1.824 MB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3426, allocations: 0.7196 MB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.3426, allocations: 17.27 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.3427, allocations: 47.41 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3427, allocations: 0 / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3712, allocations: 3.979 MB / 0.5716 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 14.86 kB / 0.5716 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.468835229003162]