Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001275/0.001275, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001392/0.001392, allocations: 211 kB / 23.73 MB, free: 4.523 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 46.94 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.84 kB / 0.4962 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 66.04 MB / 0.5607 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003257/0.3074, allocations: 1.67 MB / 0.5623 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3094, allocations: 0.9443 MB / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.3095, allocations: 3.938 kB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3098, allocations: 67.72 kB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.3102, allocations: 103.5 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3104, allocations: 71.73 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3106, allocations: 111.6 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.3106, allocations: 4.234 kB / 0.5636 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.3107, allocations: 51.78 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3108, allocations: 55.81 kB / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3108, allocations: 0 / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.3109, allocations: 28 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.311, allocations: 19.91 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.311, allocations: 31.73 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3113, allocations: 109.4 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3113, allocations: 0 / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3113, allocations: 0 / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3113, allocations: 0 / 0.5638 GB, free: 0.957 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005779/0.3119, allocations: 345.6 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3119, allocations: 11.97 kB / 0.5642 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.3119, allocations: 30.75 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.312, allocations: 12.84 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3122, allocations: 147.1 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3122, allocations: 384 / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3123, allocations: 15.86 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3124, allocations: 41.69 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3124, allocations: 3.984 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3124, allocations: 4 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3124, allocations: 4 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.3125, allocations: 15.98 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3127, allocations: 152.7 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.3129, allocations: 58.48 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.3129, allocations: 20.89 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.313, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.3131, allocations: 71.33 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.3131, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003195/0.3134, allocations: 101.6 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3135, allocations: 59.34 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3137, allocations: 194.3 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3138, allocations: 29.7 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.3138, allocations: 104.1 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3139, allocations: 15.84 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.3139, allocations: 25.7 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3141, allocations: 318.8 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.3142, allocations: 19.94 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.3142, allocations: 29.69 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3143, allocations: 53.95 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3143, allocations: 3.938 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001792/0.3145, allocations: 89.53 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3145, allocations: 4 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3145, allocations: 3.984 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3146, allocations: 4 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.3146, allocations: 8 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3147, allocations: 3.938 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3147, allocations: 11.97 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3147, allocations: 0 / 0.5658 GB, free: 14.78 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001288/0.3148, allocations: 133.8 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3149, allocations: 7.953 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3151, allocations: 94.75 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3151, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3151, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3151, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3153, allocations: 160.6 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3153, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.3153, allocations: 15.92 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3153, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3153, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3153, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3153, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.3155, allocations: 121 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3155, allocations: 11.91 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3156, allocations: 192 / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.3156, allocations: 11.98 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3156, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3157, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3158, allocations: 152.2 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3158, allocations: 0 / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.316, allocations: 23.94 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002181/0.3182, allocations: 0.9971 MB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3184, allocations: 43.92 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3184, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.3185, allocations: 23.98 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3187, allocations: 29.3 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.3209, allocations: 1.526 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.321, allocations: 93.25 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.3211, allocations: 12.47 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.3212, allocations: 35.42 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3212, allocations: 4 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3505, allocations: 3.858 MB / 0.5729 GB, free: 7.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 6.562 kB / 0.5729 GB, free: 7.457 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.21716671201284]