Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001621/0.001621, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2148/0.2148, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.002311/0.002311, allocations: 63.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3031, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003176/0.3063, allocations: 1.711 MB / 0.5587 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3088, allocations: 1.673 MB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.3089, allocations: 0 / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3091, allocations: 31.77 kB / 0.5604 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.3095, allocations: 103.5 kB / 0.5605 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3097, allocations: 79.66 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3098, allocations: 111.7 kB / 0.5606 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.3099, allocations: 13.81 kB / 0.5607 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.31, allocations: 51.78 kB / 0.5607 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3102, allocations: 47.77 kB / 0.5608 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3102, allocations: 8 kB / 0.5608 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3104, allocations: 99.94 kB / 0.5609 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.3104, allocations: 27.91 kB / 0.5609 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.3105, allocations: 27.81 kB / 0.5609 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3108, allocations: 179.3 kB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3108, allocations: 0 / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3108, allocations: 0 / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3108, allocations: 3.938 kB / 0.5611 GB, free: 3.344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005751/0.3114, allocations: 361.4 kB / 0.5614 GB, free: 2.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3114, allocations: 8.031 kB / 0.5614 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.3114, allocations: 38.75 kB / 0.5615 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3115, allocations: 12.89 kB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3118, allocations: 156 kB / 0.5616 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3118, allocations: 8.312 kB / 0.5616 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3118, allocations: 7.938 kB / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.312, allocations: 105.1 kB / 0.5618 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.312, allocations: 3.953 kB / 0.5618 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.312, allocations: 0 / 0.5618 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.312, allocations: 0 / 0.5618 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3121, allocations: 39.95 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3126, allocations: 271.9 kB / 0.5621 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3128, allocations: 74.61 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.3129, allocations: 28.78 kB / 0.5622 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3129, allocations: 0 / 0.5622 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3131, allocations: 71.38 kB / 0.5622 GB, free: 2.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3131, allocations: 4 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006188/0.3137, allocations: 217.2 kB / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3137, allocations: 77.11 kB / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.314, allocations: 186.2 kB / 0.5627 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.314, allocations: 25.7 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.3141, allocations: 100.1 kB / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3141, allocations: 35.8 kB / 0.5628 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.3142, allocations: 25.72 kB / 0.5629 GB, free: 1.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3143, allocations: 322.8 kB / 0.5632 GB, free: 1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.3144, allocations: 27.98 kB / 0.5632 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3145, allocations: 76.25 kB / 0.5633 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3146, allocations: 77.64 kB / 0.5633 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3147, allocations: 4.031 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000227/0.3149, allocations: 121.5 kB / 0.5635 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3149, allocations: 4 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3149, allocations: 0 / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3149, allocations: 4 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.315, allocations: 15.98 kB / 0.5635 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.315, allocations: 480 / 0.5635 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.3151, allocations: 7.938 kB / 0.5635 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3151, allocations: 4 kB / 0.5635 GB, free: 0.6367 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 (11): * Single equations (assignments): 11 * 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.0001219/0.3152, allocations: 133.8 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3152, allocations: 7.953 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.3155, allocations: 150.4 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3155, allocations: 4.188 kB / 0.5638 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3155, allocations: 0 / 0.5638 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3156, allocations: 7.875 kB / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.3161, allocations: 394.3 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3161, allocations: 0 / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3162, allocations: 19.98 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3162, allocations: 3.938 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3162, allocations: 8.031 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3162, allocations: 0 / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3162, allocations: 4 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3165, allocations: 236.2 kB / 0.5644 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.3165, allocations: 11.91 kB / 0.5644 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3165, allocations: 3.938 kB / 0.5644 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.3166, allocations: 11.98 kB / 0.5644 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3167, allocations: 7.984 kB / 0.5645 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3167, allocations: 4 kB / 0.5645 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3168, allocations: 140.1 kB / 0.5646 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3168, allocations: 4 kB / 0.5646 GB, free: 15.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3171, allocations: 47.86 kB / 0.5646 GB, free: 15.37 MB / 414.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 (11): * Single equations (assignments): 9 * 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.002616/0.3197, allocations: 1.264 MB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.32, allocations: 75.91 kB / 0.5659 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.32, allocations: 0 / 0.5659 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.3201, allocations: 43.91 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3204, allocations: 27.98 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3224, allocations: 1.688 MB / 0.5677 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.3225, allocations: 96.31 kB / 0.5678 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.42e-05/0.3226, allocations: 20.64 kB / 0.5678 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.3226, allocations: 43.41 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3226, allocations: 3.938 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.3658, allocations: 4.975 MB / 0.5727 GB, free: 7.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 11.12 kB / 0.5727 GB, free: 7.293 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.846204820089042]