Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.001885/0.001885, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.002099/0.002099, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.454/1.454, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.1993/0.1993, 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.001652/0.001652, allocations: 63.23 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09234, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00284/0.09522, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.09637, allocations: 0.8039 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.09647, allocations: 0 / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.09675, allocations: 35.78 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.09695, allocations: 55.75 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.09719, allocations: 87.77 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.09732, allocations: 95.69 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.09742, allocations: 12.17 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.0975, allocations: 43.78 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.09757, allocations: 35.78 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.09759, allocations: 4 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.09768, allocations: 35.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.09773, allocations: 19.92 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.09777, allocations: 31.81 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.09794, allocations: 107.7 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09796, allocations: 0 / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09796, allocations: 0 / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.09797, allocations: 0 / 443.7 MB, free: 3.734 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.0003846/0.09836, allocations: 410.8 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.0984, allocations: 15.89 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.09843, allocations: 34.73 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.09847, allocations: 8.844 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.09863, allocations: 214.1 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.09865, allocations: 4.359 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.09867, allocations: 7.938 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.0988, allocations: 53.67 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.09882, allocations: 0 / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.09883, allocations: 3.984 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.09884, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.09891, allocations: 23.92 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.09917, allocations: 284.9 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.09935, allocations: 54.69 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.09941, allocations: 20.84 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.09944, allocations: 3.938 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.09961, allocations: 79.33 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.09962, allocations: 0 / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004724/0.1001, allocations: 169.2 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1001, allocations: 55.39 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1003, allocations: 174 kB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1003, allocations: 33.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.1003, allocations: 100.1 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1003, allocations: 23.7 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1004, allocations: 25.72 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.1004, allocations: 322.8 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.1005, allocations: 23.98 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.1006, allocations: 29.72 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.1007, allocations: 61.64 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1007, allocations: 0 / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.1008, allocations: 105.5 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1008, allocations: 11.94 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1009, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1009, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.101, allocations: 12 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.101, allocations: 4 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.101, allocations: 7.922 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.101, allocations: 4 kB / 446 MB, free: 1.156 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.947e-05/0.1011, allocations: 129.8 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1011, allocations: 11.81 kB / 446.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1012, allocations: 16.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1012, allocations: 0 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1012, allocations: 0 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1012, allocations: 7.938 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1015, allocations: 387.3 kB / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1015, allocations: 0 / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.1016, allocations: 15.97 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1016, allocations: 3.938 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1016, allocations: 7.984 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1016, allocations: 0 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1016, allocations: 0 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1018, allocations: 200.5 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.1018, allocations: 85.02 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1018, allocations: 12.25 kB / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1019, allocations: 7.984 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1019, allocations: 4 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.102, allocations: 8 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.102, allocations: 135.2 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.102, allocations: 0 / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1023, allocations: 24 kB / 447 MB, free: 8 kB / 318.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.001405/0.1037, allocations: 1.11 MB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1039, allocations: 59.92 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1039, allocations: 0 / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.104, allocations: 31.92 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1043, allocations: 27.98 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1059, allocations: 1.605 MB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1062, allocations: 0.7078 MB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.1063, allocations: 25.17 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.1063, allocations: 31.42 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1063, allocations: 0 / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1289, allocations: 3.236 MB / 453.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/8.751, allocations: 11.94 kB / 453.9 MB, free: 9.098 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches