Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.001082/0.001082, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001116/0.001116, allocations: 184.6 kB / 17.19 MB, free: 5.609 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.366/1.366, 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.1965/0.1965, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00155/0.00155, allocations: 69.62 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.0936, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002267/0.0959, allocations: 1.693 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.0968, allocations: 0.7961 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.09688, allocations: 4 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.09713, allocations: 43.81 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.0973, allocations: 59.69 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.09752, allocations: 87.77 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.09764, allocations: 91.69 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.09772, allocations: 24.16 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.09779, allocations: 39.8 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.09785, allocations: 23.86 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.09787, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.09795, allocations: 47.91 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.098, allocations: 19.92 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.09804, allocations: 35.73 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.09818, allocations: 123.6 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09819, allocations: 0 / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0982, allocations: 4 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.09821, allocations: 0 / 443.7 MB, free: 3.684 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.0003488/0.09856, allocations: 422.8 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.09859, allocations: 15.89 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.09862, allocations: 30.75 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.09866, allocations: 8.844 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.09881, allocations: 223.9 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.09882, allocations: 4.375 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.09884, allocations: 7.938 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.09896, allocations: 53.67 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.09897, allocations: 4 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.09899, allocations: 0 / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.09899, allocations: 0 / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.09906, allocations: 19.98 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.09929, allocations: 296.8 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.09943, allocations: 54.69 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.09948, allocations: 20.84 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.0995, allocations: 4 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.09964, allocations: 67.33 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.09965, allocations: 3.938 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004125/0.1001, allocations: 185.2 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.1001, allocations: 55.34 kB / 445.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1002, allocations: 230.6 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.1002, allocations: 25.7 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1003, allocations: 112.1 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1003, allocations: 19.66 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1003, allocations: 29.7 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.695e-05/0.1004, allocations: 322.8 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.1004, allocations: 20 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.1005, allocations: 37.7 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.1006, allocations: 61.64 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1006, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001395/0.1007, allocations: 105.5 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.1007, allocations: 4 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1007, allocations: 8.016 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1008, allocations: 4 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.1008, allocations: 15.94 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1008, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.1009, allocations: 11.92 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1009, allocations: 4 kB / 446.2 MB, free: 1 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 5.68e-05/0.101, allocations: 129 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.101, allocations: 23.73 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.101, allocations: 21.41 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.101, allocations: 4 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.101, allocations: 0 / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1011, allocations: 3.938 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1014, allocations: 391.3 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1014, allocations: 0 / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.1014, allocations: 8.375 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1014, allocations: 7.938 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1014, allocations: 8.031 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1014, allocations: 3.938 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1014, allocations: 0 / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1016, allocations: 208.3 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.1016, allocations: 84.92 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1016, allocations: 8.125 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.1017, allocations: 0 / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1018, allocations: 20 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1018, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1019, allocations: 167.2 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1022, allocations: 27.98 kB / 447.3 MB, free: 15.79 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.001244/0.1034, allocations: 1.1 MB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1036, allocations: 75.89 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1036, allocations: 0 / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.1037, allocations: 31.92 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.104, allocations: 23.22 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1055, allocations: 1.717 MB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1058, allocations: 0.7117 MB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1058, allocations: 21.17 kB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1059, allocations: 39.42 kB / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1059, allocations: 0 / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09752/0.2034, allocations: 3.468 MB / 454.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.345, allocations: 7.875 kB / 454.4 MB, free: 8.535 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches