Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008792/0.0008795, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006755/0.0006752, allocations: 93.48 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2856/0.2856, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003665, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09495, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001922/0.09692, allocations: 1.358 MB / 492.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.09805, allocations: 0.7356 MB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.09815, allocations: 3.938 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.09844, allocations: 43.86 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.09863, allocations: 51.83 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.09888, allocations: 79.83 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.09905, allocations: 71.77 kB / 493.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.0991, allocations: 11.92 kB / 493.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.09919, allocations: 39.84 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.09928, allocations: 31.84 kB / 493.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.0993, allocations: 4 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.09939, allocations: 27.98 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.09945, allocations: 27.86 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.09952, allocations: 61.44 kB / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.09968, allocations: 88.03 kB / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09969, allocations: 0 / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0997, allocations: 0 / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09971, allocations: 0 / 493.6 MB, free: 7.898 MB / 378.7 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.000457/0.1002, allocations: 411 kB / 494 MB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1002, allocations: 12.03 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.1003, allocations: 34.75 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1003, allocations: 12.75 kB / 494 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1005, allocations: 231.6 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1006, allocations: 384 / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1006, allocations: 3.938 kB / 494.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1007, allocations: 49.67 kB / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1007, allocations: 0 / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1007, allocations: 0 / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1007, allocations: 0 / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.1008, allocations: 15.98 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.101, allocations: 193.7 kB / 494.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1012, allocations: 62.42 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1012, allocations: 20.84 kB / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1012, allocations: 0 / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1014, allocations: 71.33 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1014, allocations: 0 / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002639/0.1017, allocations: 105.4 kB / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1017, allocations: 51.41 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.102, allocations: 255.7 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.102, allocations: 25.7 kB / 495.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1021, allocations: 112.1 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1021, allocations: 7.906 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1021, allocations: 4 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1022, allocations: 326.8 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1023, allocations: 15.98 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.1023, allocations: 29.7 kB / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.1024, allocations: 45.91 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1024, allocations: 3.938 kB / 495.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001461/0.1026, allocations: 89.48 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1026, allocations: 4 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1026, allocations: 0 / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1026, allocations: 4 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1027, allocations: 11.94 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1027, allocations: 0 / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.1028, allocations: 15.84 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1028, allocations: 3.984 kB / 495.7 MB, free: 5.473 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1029, allocations: 141.6 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1029, allocations: 11.91 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.103, allocations: 13 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.103, allocations: 4 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.103, allocations: 0 / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.103, allocations: 0 / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1031, allocations: 201.5 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1032, allocations: 0 / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.1032, allocations: 7.984 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1032, allocations: 0 / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1032, allocations: 0 / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1032, allocations: 7.938 kB / 496.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1032, allocations: 0 / 496.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1034, allocations: 120.8 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1034, allocations: 88.92 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1035, allocations: 0 / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.263e-05/0.1035, allocations: 12.11 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1036, allocations: 0 / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1036, allocations: 12 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1037, allocations: 199 kB / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1037, allocations: 3.938 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.1039, allocations: 20 kB / 496.6 MB, free: 4.555 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.1051, allocations: 0.9478 MB / 497.5 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1052, allocations: 39.98 kB / 497.5 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1053, allocations: 0 / 497.5 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1053, allocations: 28.05 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1056, allocations: 23.92 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1067, allocations: 0.8484 MB / 498.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.107, allocations: 0.716 MB / 499.2 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1071, allocations: 35.42 kB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1071, allocations: 0 / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/2.994, allocations: 2.326 MB / 0.4898 GB, free: 42.08 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches