Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001122/0.001122, allocations: 103 kB / 16.27 MB, free: 5.93 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.001199/0.0012, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.441/1.441, 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.2205/0.2205, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001429/0.001429, allocations: 75.58 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08723, allocations: 57.78 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002716/0.09, allocations: 1.697 MB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.09098, allocations: 0.8 MB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.09107, allocations: 4 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.09142, allocations: 43.75 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.09166, allocations: 55.77 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.0919, allocations: 87.69 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.09207, allocations: 91.77 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.09221, allocations: 16.17 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.09229, allocations: 43.72 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.09237, allocations: 31.86 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.0924, allocations: 4 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.09249, allocations: 31.98 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.09256, allocations: 27.91 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.09263, allocations: 35.73 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.09282, allocations: 111.7 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.09284, allocations: 0 / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09284, allocations: 0 / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.09286, allocations: 8 kB / 443.7 MB, free: 3.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005515/0.09342, allocations: 414.9 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.09348, allocations: 11.89 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.09351, allocations: 38.69 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.09356, allocations: 12.75 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.0938, allocations: 214.2 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.09382, allocations: 384 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.09385, allocations: 7.938 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.09401, allocations: 57.67 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.09403, allocations: 0 / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.09405, allocations: 0 / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.09406, allocations: 3.938 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.09413, allocations: 19.98 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.09445, allocations: 288.9 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.09462, allocations: 58.67 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.09468, allocations: 20.8 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.09471, allocations: 7.938 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.09486, allocations: 67.38 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.09487, allocations: 3.984 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005097/0.09539, allocations: 173.2 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.09542, allocations: 59.41 kB / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.09557, allocations: 199.3 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.09559, allocations: 33.69 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.09564, allocations: 100 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.09567, allocations: 27.64 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.09571, allocations: 21.72 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.09577, allocations: 326.8 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.09583, allocations: 19.98 kB / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.09589, allocations: 37.7 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.09599, allocations: 69.62 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09599, allocations: 0 / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001444/0.09614, allocations: 97.53 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.09616, allocations: 4 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.09617, allocations: 4 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.0962, allocations: 4.031 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.09629, allocations: 15.98 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.0963, allocations: 0 / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.09635, allocations: 11.88 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.09636, allocations: 4 kB / 446.1 MB, free: 1.051 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 (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 8.116e-05/0.09645, allocations: 133.3 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.09647, allocations: 15.81 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.09652, allocations: 13.41 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.09653, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.09654, allocations: 11.92 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.09654, allocations: 3.938 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.09687, allocations: 387.4 kB / 446.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.09688, allocations: 0 / 446.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.09691, allocations: 12.31 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.09692, allocations: 7.938 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.09693, allocations: 0 / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.09694, allocations: 7.984 kB / 446.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.09695, allocations: 4.031 kB / 446.7 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.09712, allocations: 196.5 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.09715, allocations: 88.92 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.09718, allocations: 11.88 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.09725, allocations: 4 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.0973, allocations: 15.92 kB / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.09731, allocations: 4 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.09745, allocations: 151.9 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09746, allocations: 0 / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.09772, allocations: 24 kB / 447.2 MB, free: 15.88 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001547/0.09927, allocations: 1.092 MB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.09948, allocations: 63.91 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0995, allocations: 64 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.09958, allocations: 27.94 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.09995, allocations: 33.94 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1021, allocations: 1.663 MB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1024, allocations: 0.7002 MB / 450.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1025, allocations: 17.17 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1025, allocations: 39.42 kB / 450.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1025, allocations: 0 / 450.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.1318, allocations: 3.356 MB / 454.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/8.749, allocations: 7.938 kB / 454.2 MB, free: 8.801 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches