Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001633/0.001633, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001663/0.001663, allocations: 214 kB / 23.73 MB, free: 4.16 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2195/0.2195, allocations: 44.93 MB / 358.8 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.002377/0.002377, allocations: 63.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3393, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00354/0.3428, allocations: 1.907 MB / 0.5589 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3447, allocations: 1.01 MB / 0.5599 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3448, allocations: 0 / 0.5599 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.3451, allocations: 47.7 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.3454, allocations: 107.4 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3457, allocations: 99.64 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3459, allocations: 139.6 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3461, allocations: 23.55 kB / 0.5603 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3462, allocations: 55.73 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3463, allocations: 59.56 kB / 0.5604 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3463, allocations: 8 kB / 0.5604 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3464, allocations: 47.98 kB / 0.5604 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3465, allocations: 23.92 kB / 0.5605 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.3466, allocations: 39.73 kB / 0.5605 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.3468, allocations: 167.2 kB / 0.5607 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3468, allocations: 0 / 0.5607 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3468, allocations: 0 / 0.5607 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.3468, allocations: 4 kB / 0.5607 GB, free: 3.777 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006478/0.3475, allocations: 403.1 kB / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3475, allocations: 8.031 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.3476, allocations: 42.73 kB / 0.5611 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3476, allocations: 16.84 kB / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3479, allocations: 182.9 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3479, allocations: 8.375 kB / 0.5613 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.348, allocations: 7.938 kB / 0.5613 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3482, allocations: 133.9 kB / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3482, allocations: 0 / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3482, allocations: 0 / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3482, allocations: 4 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3484, allocations: 51.91 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.349, allocations: 484 kB / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.3494, allocations: 86.66 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.3495, allocations: 32.84 kB / 0.562 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3495, allocations: 4 kB / 0.5621 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3497, allocations: 109 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3497, allocations: 0 / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004198/0.3501, allocations: 161.4 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3502, allocations: 55.41 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3504, allocations: 207.1 kB / 0.5626 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3504, allocations: 25.7 kB / 0.5626 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.3505, allocations: 116.1 kB / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.3505, allocations: 31.73 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.3506, allocations: 25.72 kB / 0.5628 GB, free: 1.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3507, allocations: 330.8 kB / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.3508, allocations: 23.98 kB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3509, allocations: 72.02 kB / 0.5632 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.3511, allocations: 104.2 kB / 0.5633 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3511, allocations: 0 / 0.5633 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002734/0.3514, allocations: 137.4 kB / 0.5634 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3514, allocations: 12.12 kB / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3514, allocations: 0 / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3514, allocations: 3.938 kB / 0.5634 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3516, allocations: 27.98 kB / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3516, allocations: 0 / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.3516, allocations: 15.89 kB / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3516, allocations: 4 kB / 0.5635 GB, free: 0.6523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001162/0.3518, allocations: 132 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3518, allocations: 19.84 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.3521, allocations: 139.4 kB / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3521, allocations: 7.938 kB / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3521, allocations: 3.984 kB / 0.5637 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3521, allocations: 0 / 0.5637 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3523, allocations: 180.7 kB / 0.5639 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3523, allocations: 4 kB / 0.5639 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.3524, allocations: 12 kB / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3524, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3524, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3524, allocations: 7.922 kB / 0.5639 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3524, allocations: 4 kB / 0.5639 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3528, allocations: 188.9 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.3528, allocations: 19.86 kB / 0.5641 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3528, allocations: 8 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.3529, allocations: 7.938 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3529, allocations: 11.92 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3529, allocations: 0 / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3531, allocations: 147.2 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3531, allocations: 0 / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3533, allocations: 32.05 kB / 0.5643 GB, free: 15.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00225/0.3556, allocations: 1.061 MB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3558, allocations: 79.89 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3558, allocations: 0 / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3559, allocations: 36.17 kB / 0.5655 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3562, allocations: 48.03 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3584, allocations: 1.774 MB / 0.5673 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3585, allocations: 109.8 kB / 0.5674 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.3586, allocations: 17.41 kB / 0.5674 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3586, allocations: 43.42 kB / 0.5674 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3586, allocations: 0 / 0.5674 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.3905, allocations: 4.549 MB / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 14.42 kB / 0.5719 GB, free: 8.039 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.826030584052205]