Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1843/0.1843, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 73.11 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08658, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002202/0.08882, allocations: 1.648 MB / 442.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.08966, allocations: 0.7905 MB / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.08973, allocations: 4 kB / 443.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.08997, allocations: 51.8 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.09014, allocations: 71.67 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.09032, allocations: 79.77 kB / 443.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.09044, allocations: 103.7 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.09048, allocations: 8.281 kB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.09055, allocations: 43.83 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.09062, allocations: 47.77 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.09065, allocations: 0 / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.09072, allocations: 28 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.09076, allocations: 19.92 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.0908, allocations: 31.73 kB / 443.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.09093, allocations: 99.64 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09094, allocations: 4 kB / 443.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09095, allocations: 0 / 443.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09096, allocations: 4 kB / 443.7 MB, free: 3.781 MB / 318.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.0003592/0.09132, allocations: 403 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.09136, allocations: 15.89 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.09138, allocations: 34.73 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.09142, allocations: 8.844 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.09157, allocations: 205.2 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.09158, allocations: 4.375 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.09159, allocations: 3.938 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.0917, allocations: 61.59 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.09172, allocations: 0 / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.09173, allocations: 0 / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.09173, allocations: 0 / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.09179, allocations: 15.98 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.09192, allocations: 177.7 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.09205, allocations: 58.55 kB / 444.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.0921, allocations: 28.73 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.09212, allocations: 7.938 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.09225, allocations: 63.39 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.09226, allocations: 0 / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002107/0.09248, allocations: 101.5 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.09251, allocations: 55.41 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.09262, allocations: 186.1 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.09263, allocations: 29.7 kB / 445.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.09266, allocations: 100.1 kB / 445.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.09269, allocations: 7.906 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.09272, allocations: 21.7 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.09276, allocations: 326.8 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.09281, allocations: 16 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.09286, allocations: 25.7 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.09294, allocations: 45.7 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09294, allocations: 3.938 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/0.09306, allocations: 81.44 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.09308, allocations: 8 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.09309, allocations: 4.031 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.0931, allocations: 0 / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.09317, allocations: 8 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.09318, allocations: 3.984 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.09322, allocations: 7.938 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.09323, allocations: 4 kB / 445.7 MB, free: 1.457 MB / 318.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 5.677e-05/0.0933, allocations: 133.7 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.09332, allocations: 11.89 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.09335, allocations: 12.31 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.09336, allocations: 4 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.09336, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.09337, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.417e-05/0.09345, allocations: 181.9 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.09345, allocations: 4 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.09348, allocations: 7.984 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.09348, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.09349, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.0935, allocations: 4 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.0935, allocations: 3.938 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.09364, allocations: 116.8 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.09367, allocations: 81.02 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.0937, allocations: 8 kB / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/0.09373, allocations: 0 / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.09376, allocations: 7.984 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.09378, allocations: 0 / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.09385, allocations: 143.2 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09385, allocations: 4 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.09405, allocations: 20 kB / 446.5 MB, free: 0.6289 MB / 318.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001054/0.09511, allocations: 0.9472 MB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.09526, allocations: 43.92 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.09527, allocations: 4.062 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.09533, allocations: 19.98 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.09561, allocations: 27.16 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.09696, allocations: 1.481 MB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.09722, allocations: 0.6963 MB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.09727, allocations: 12.42 kB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.09733, allocations: 27.42 kB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09733, allocations: 7.938 kB / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/0.4427, allocations: 2.989 MB / 452.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.421, allocations: 16.05 kB / 452.7 MB, free: 10.27 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches