Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",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.00103/0.00103, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006304/0.0006305, allocations: 84.78 kB / 271.2 MB, free: 8.25 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.309/0.309, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 19.98 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.09004, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001696/0.09177, allocations: 1.398 MB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.09278, allocations: 0.7383 MB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.09287, allocations: 0 / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.09312, allocations: 39.81 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.0933, allocations: 51.83 kB / 493.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.09354, allocations: 71.83 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.09368, allocations: 83.7 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.09377, allocations: 12.22 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.09386, allocations: 39.83 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.09394, allocations: 31.8 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.09396, allocations: 7.938 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.09405, allocations: 32 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.0941, allocations: 27.89 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.09416, allocations: 53.52 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.09431, allocations: 84.09 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09432, allocations: 0 / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09433, allocations: 0 / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09433, allocations: 0 / 493.6 MB, free: 7.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004664/0.0948, allocations: 403 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.09485, allocations: 12.03 kB / 494 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.0949, allocations: 38.75 kB / 494 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.09494, allocations: 12.78 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.09516, allocations: 212.6 kB / 494.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.09518, allocations: 384 / 494.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.09521, allocations: 11.94 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.09538, allocations: 49.67 kB / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.0954, allocations: 0 / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.09542, allocations: 4 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.09543, allocations: 4 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.0955, allocations: 23.92 kB / 494.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.09586, allocations: 284.9 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.09602, allocations: 58.67 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.09608, allocations: 20.84 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.09611, allocations: 4 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.0963, allocations: 71.33 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.09631, allocations: 0 / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.09685, allocations: 173.4 kB / 495 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.0969, allocations: 51.41 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.09709, allocations: 196.7 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.09712, allocations: 37.7 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.09719, allocations: 100.1 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.09722, allocations: 19.72 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.09723, allocations: 4 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.09735, allocations: 322.8 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.09741, allocations: 23.98 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.09749, allocations: 33.7 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.09761, allocations: 61.64 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.09762, allocations: 3.984 kB / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.0978, allocations: 101.5 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.09782, allocations: 4 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.09783, allocations: 128 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.09785, allocations: 3.938 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.09794, allocations: 23.98 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.09796, allocations: 160 / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.09801, allocations: 7.969 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.09803, allocations: 7.984 kB / 495.9 MB, free: 5.289 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 (10): * Single equations (assignments): 10 * 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 9.256e-05/0.09812, allocations: 133.6 kB / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.09815, allocations: 8.094 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.09819, allocations: 21.33 kB / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.09821, allocations: 7.938 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.09821, allocations: 0 / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.09823, allocations: 7.922 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.09864, allocations: 403.2 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.09866, allocations: 0 / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.09869, allocations: 11.94 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.0987, allocations: 3.938 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.09872, allocations: 0 / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.09872, allocations: 4 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09873, allocations: 0 / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.09894, allocations: 204.3 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.099, allocations: 92.92 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.09903, allocations: 3.938 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.09911, allocations: 7.984 kB / 496.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.09915, allocations: 0 / 496.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.09917, allocations: 4 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.0993, allocations: 156.9 kB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.09932, allocations: 4 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.09956, allocations: 31.92 kB / 497 MB, free: 4.105 MB / 378.7 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 (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.001227/0.1008, allocations: 1.087 MB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.101, allocations: 59.91 kB / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.101, allocations: 0 / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1011, allocations: 31.94 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1014, allocations: 32.09 kB / 498.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1025, allocations: 0.7675 MB / 499 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1027, allocations: 0.7004 MB / 499.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.1028, allocations: 35.42 kB / 499.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1028, allocations: 0 / 499.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.949/3.052, allocations: 2.264 MB / 0.4902 GB, free: 42.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches