Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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: 109.2 kB / 20.43 MB, free: 1.473 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.002203/0.002203, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2394/0.2394, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] 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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.00212/0.00212, allocations: 75.88 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 65.47 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003475/0.4004, allocations: 1.739 MB / 0.5588 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4023, allocations: 1.053 MB / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.4024, allocations: 3.938 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.4027, allocations: 47.77 kB / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.4031, allocations: 91.59 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.4033, allocations: 83.66 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.4035, allocations: 95.77 kB / 0.5601 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4036, allocations: 13.75 kB / 0.5601 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4037, allocations: 51.73 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.4038, allocations: 35.83 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4038, allocations: 4 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.4039, allocations: 39.98 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.4039, allocations: 23.91 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.404, allocations: 39.69 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.4042, allocations: 119.5 kB / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4042, allocations: 3.938 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4042, allocations: 0 / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.4042, allocations: 0 / 0.5604 GB, free: 4.273 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.0006261/0.4049, allocations: 353.5 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4049, allocations: 12.03 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.405, allocations: 38.73 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.405, allocations: 12.83 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.4053, allocations: 154.3 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4053, allocations: 8.375 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4054, allocations: 3.938 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4055, allocations: 61.61 kB / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4055, allocations: 0 / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4056, allocations: 4 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.4056, allocations: 0 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.4056, allocations: 19.98 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.406, allocations: 255.9 kB / 0.5613 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4062, allocations: 62.61 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.4063, allocations: 24.84 kB / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4063, allocations: 0 / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.4064, allocations: 63.39 kB / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4064, allocations: 0 / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.407, allocations: 181.3 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.407, allocations: 51.41 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4073, allocations: 226.6 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4073, allocations: 29.7 kB / 0.5619 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.4074, allocations: 104.1 kB / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4074, allocations: 31.77 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4074, allocations: 25.72 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4076, allocations: 322.8 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.4076, allocations: 23.98 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.4077, allocations: 37.64 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4078, allocations: 53.8 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4078, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.408, allocations: 113.5 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.408, allocations: 6.656 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4081, allocations: 4 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4081, allocations: 384 / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.4082, allocations: 15.98 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4082, allocations: 4.031 kB / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.4082, allocations: 11.94 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4082, allocations: 11.94 kB / 0.5627 GB, free: 1.785 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.0001309/0.4084, allocations: 129.8 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4084, allocations: 15.91 kB / 0.5628 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.4087, allocations: 115 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4087, allocations: 0 / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4087, allocations: 0 / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4087, allocations: 7.938 kB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.4092, allocations: 362.4 kB / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4092, allocations: 0 / 0.5633 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.4092, allocations: 11.98 kB / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4092, allocations: 3.938 kB / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4092, allocations: 0 / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.4092, allocations: 4 kB / 0.5633 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4092, allocations: 3.938 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4095, allocations: 208.3 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.4095, allocations: 7.953 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4095, allocations: 7.938 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.4096, allocations: 7.984 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.4096, allocations: 4 kB / 0.5635 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.4096, allocations: 4.172 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.4098, allocations: 164.3 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4098, allocations: 3.938 kB / 0.5637 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4101, allocations: 23.94 kB / 0.5637 GB, free: 0.6289 MB / 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.002293/0.4124, allocations: 1.092 MB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.4126, allocations: 55.91 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4126, allocations: 0 / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.4127, allocations: 23.98 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.413, allocations: 33.44 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.4151, allocations: 1.685 MB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4155, allocations: 0.7119 MB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.4156, allocations: 32.88 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.4156, allocations: 39.42 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4156, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4466, allocations: 3.683 MB / 0.5709 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.27, allocations: 11.06 kB / 0.5709 GB, free: 9.375 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.593545590003487]