Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.001369/0.001369, 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.001424/0.001424, 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.442/1.442, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.1893/0.1893, allocations: 43.53 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.001518/0.001518, allocations: 69.94 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07748/0.07901, allocations: 57.78 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002517/0.08156, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.08248, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.08256, allocations: 0 / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.08284, allocations: 47.75 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.08302, allocations: 55.77 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.08323, allocations: 87.75 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.08335, allocations: 95.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.985e-05/0.08344, allocations: 12.17 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.08351, allocations: 47.77 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.08357, allocations: 27.8 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.08359, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.08367, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.08372, allocations: 23.91 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.08377, allocations: 31.75 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.08391, allocations: 119.7 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.08392, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08393, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.08393, allocations: 0 / 443.7 MB, free: 3.707 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.0003933/0.08433, allocations: 418.8 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.08437, allocations: 15.89 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.0844, allocations: 30.75 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.08444, allocations: 12.75 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.0846, allocations: 218.2 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.08462, allocations: 384 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.08465, allocations: 7.938 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.08478, allocations: 57.67 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.0848, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.08482, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.08483, allocations: 4 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.0849, allocations: 19.92 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.0852, allocations: 288.9 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.08537, allocations: 62.66 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.08542, allocations: 20.84 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.08545, allocations: 0 / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.08564, allocations: 71.33 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.08565, allocations: 7.938 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.08615, allocations: 173.1 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.08619, allocations: 51.41 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.08633, allocations: 203.3 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.08635, allocations: 29.7 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.0864, allocations: 108 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.08643, allocations: 23.66 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.08646, allocations: 25.72 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.08652, allocations: 322.8 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.08657, allocations: 20 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.08664, allocations: 37.7 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.782e-05/0.08674, allocations: 69.69 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.08675, allocations: 4 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.0869, allocations: 97.53 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.08692, allocations: 4 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.08693, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.08695, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.08705, allocations: 23.92 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.08706, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.0871, allocations: 7.938 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.08712, allocations: 4 kB / 446.1 MB, free: 1.074 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 7.574e-05/0.0872, allocations: 137.3 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.08723, allocations: 11.81 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.08727, allocations: 21.39 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.08728, allocations: 4.375 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.08729, allocations: 0 / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0873, allocations: 3.938 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.08763, allocations: 395.3 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.08765, allocations: 4.031 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.08768, allocations: 11.94 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.08769, allocations: 7.922 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.0877, allocations: 0 / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.08771, allocations: 4 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.08771, allocations: 0 / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.08788, allocations: 196.3 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.08792, allocations: 92.92 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.08795, allocations: 4.125 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.08802, allocations: 7.984 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.08807, allocations: 3.938 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.0881, allocations: 11.94 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.08823, allocations: 147.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08824, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.0885, allocations: 27.98 kB / 447.2 MB, free: 15.9 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.001398/0.08991, allocations: 1.096 MB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.0901, allocations: 59.91 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.09011, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.09018, allocations: 31.92 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.09052, allocations: 33.95 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.0923, allocations: 1.659 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.09258, allocations: 0.708 MB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.09264, allocations: 13.19 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.0927, allocations: 35.42 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09271, allocations: 0 / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/0.1917, allocations: 3.363 MB / 454.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/8.917, allocations: 7.875 kB / 454.2 MB, free: 8.816 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches