Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0008324/0.0008324, allocations: 76.5 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008791/0.0008791, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9533/0.9533, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1373/0.1373, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.023e-05, allocations: 10.28 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003572/0.003602, allocations: 1.679 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.005012, allocations: 0.7843 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.005112, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.005452, allocations: 43.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.005724, allocations: 51.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.006047, allocations: 99.62 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.006268, allocations: 91.7 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.006391, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.006528, allocations: 59.75 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.838e-05/0.006626, allocations: 19.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.00665, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.006772, allocations: 47.91 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.006856, allocations: 23.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.00691, allocations: 15.94 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.007165, allocations: 115.5 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007168, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007169, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.007176, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 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.0005555/0.007731, allocations: 337.7 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.007779, allocations: 12.03 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.007821, allocations: 34.73 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.007862, allocations: 16.78 kB / 410.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.008106, allocations: 146.3 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.008119, allocations: 384 / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.008143, allocations: 4.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.0083, allocations: 57.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008312, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.00832, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.008326, allocations: 4 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.008398, allocations: 23.98 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.00877, allocations: 251.9 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.008952, allocations: 58.67 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.009005, allocations: 20.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.009023, allocations: 0 / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.009196, allocations: 79.28 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.009197, allocations: 0 / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006689/0.009866, allocations: 185.4 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.009913, allocations: 55.34 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.01011, allocations: 198.1 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01013, allocations: 29.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.01021, allocations: 100.1 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.01025, allocations: 23.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.0103, allocations: 29.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01043, allocations: 326.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.01051, allocations: 19.98 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.01058, allocations: 37.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.01071, allocations: 61.72 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01072, allocations: 3.938 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.01093, allocations: 105.6 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.01095, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01096, allocations: 80 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.01098, allocations: 0 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01108, allocations: 28.09 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.0111, allocations: 3.984 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.01115, allocations: 15.97 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.01116, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 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.0001159/0.01128, allocations: 129.8 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.0113, allocations: 7.953 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.01157, allocations: 122.4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01157, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.01158, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01158, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.01208, allocations: 370.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01208, allocations: 4.031 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.01212, allocations: 12 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01213, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01214, allocations: 3.984 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01214, allocations: 384 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.01215, allocations: 7.938 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.01238, allocations: 204.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01241, allocations: 11.91 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.01244, allocations: 15.98 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.0125, allocations: 0 / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.01255, allocations: 19.86 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.01258, allocations: 7.938 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.01271, allocations: 144.1 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01271, allocations: 0 / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.01302, allocations: 27.92 kB / 413.3 MB, free: 11.51 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.001538/0.01456, allocations: 1.125 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.01475, allocations: 59.91 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01476, allocations: 0 / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.01482, allocations: 27.98 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.01519, allocations: 28.22 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.01701, allocations: 1.662 MB / 416.2 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.0171, allocations: 84.31 kB / 416.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.01716, allocations: 20.42 kB / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.01723, allocations: 32.48 kB / 416.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01723, allocations: 4 kB / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.03325, allocations: 4.181 MB / 420.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.719, allocations: 7.844 kB / 420.5 MB, free: 4.02 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.018478170968592]