Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001438/0.001438, allocations: 102.3 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.001132/0.001132, 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.202/1.202, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1685/0.1685, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001696/0.001696, allocations: 69.69 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08077/0.08247, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002288/0.08479, allocations: 1.644 MB / 442.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.08567, allocations: 0.7827 MB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.08574, allocations: 7.938 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.086, allocations: 63.78 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.08617, allocations: 59.75 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.08636, allocations: 91.62 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.08647, allocations: 99.7 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.08651, allocations: 8.266 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.08658, allocations: 39.84 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.08666, allocations: 43.78 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.08668, allocations: 4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.08674, allocations: 35.97 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.08679, allocations: 19.92 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.08683, allocations: 27.81 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.08696, allocations: 99.58 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.08697, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08698, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.08698, allocations: 0 / 443.6 MB, free: 3.758 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.0003518/0.08734, allocations: 410.9 kB / 444 MB, free: 3.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.08738, allocations: 19.89 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.0874, allocations: 30.75 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.08744, allocations: 8.844 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.08759, allocations: 205 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.08761, allocations: 4.375 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.08763, allocations: 3.938 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.08774, allocations: 57.61 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.08775, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.08776, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.08777, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.08783, allocations: 19.98 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.08795, allocations: 181.7 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.08808, allocations: 50.56 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.08814, allocations: 28.72 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.08816, allocations: 4 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.0883, allocations: 71.33 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.08831, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002124/0.08852, allocations: 93.48 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.851e-05/0.08855, allocations: 55.41 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.08866, allocations: 190.1 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.08868, allocations: 25.7 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.08871, allocations: 100.1 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.08874, allocations: 19.84 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.08877, allocations: 17.72 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.08881, allocations: 322.8 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.08886, allocations: 15.98 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.0889, allocations: 25.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.08899, allocations: 45.72 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.08899, allocations: 3.938 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001182/0.08912, allocations: 85.42 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.08913, allocations: 8 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.08914, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.08916, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.08923, allocations: 11.98 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.08924, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.08928, allocations: 11.94 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.08929, allocations: 8.297 kB / 445.7 MB, free: 1.422 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.472e-05/0.08935, allocations: 136.9 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.08938, allocations: 7.906 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.08941, allocations: 16.3 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.08941, allocations: 0 / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.08942, allocations: 4 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.08943, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.08951, allocations: 185.6 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.08951, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.08953, allocations: 4 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.08954, allocations: 4 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.08955, allocations: 3.984 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.08956, allocations: 4 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.08956, allocations: 3.938 kB / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.0897, allocations: 112.9 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.08973, allocations: 81.02 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.08975, allocations: 7.938 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.08979, allocations: 0 / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.08982, allocations: 11.98 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.08983, allocations: 3.938 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.08991, allocations: 135.2 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08991, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.09011, allocations: 23.98 kB / 446.5 MB, free: 0.5977 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.001033/0.09115, allocations: 0.9426 MB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.09129, allocations: 43.86 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.09131, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.09136, allocations: 16 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.0916, allocations: 33.53 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.09292, allocations: 1.477 MB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.09317, allocations: 0.6963 MB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.09322, allocations: 24.64 kB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.0933, allocations: 31.42 kB / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.0933, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.1454, allocations: 2.981 MB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/8.733, allocations: 12.05 kB / 452.7 MB, free: 10.26 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches