Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",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.001056/0.001056, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.000747/0.000747, allocations: 103.1 kB / 271.2 MB, free: 8.238 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.2686/0.2686, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 12 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09322, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001868/0.09514, allocations: 1.402 MB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.09623, allocations: 0.7461 MB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.09633, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.09658, allocations: 27.86 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.09676, allocations: 43.83 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.09702, allocations: 75.83 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.09717, allocations: 83.7 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.09726, allocations: 16.2 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.09737, allocations: 39.78 kB / 493.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.09744, allocations: 27.86 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.09746, allocations: 3.938 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.09756, allocations: 35.98 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.09761, allocations: 19.92 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.09768, allocations: 61.48 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.09783, allocations: 80.09 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09784, allocations: 4 kB / 493.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09785, allocations: 4 kB / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.09786, allocations: 0 / 493.6 MB, free: 7.879 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.0004622/0.09833, allocations: 395.1 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.09837, allocations: 12.02 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.09841, allocations: 34.69 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.09845, allocations: 8.844 kB / 494 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.09866, allocations: 216 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.09869, allocations: 4.375 kB / 494.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.09871, allocations: 3.938 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.09884, allocations: 57.67 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.09886, allocations: 0 / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.09888, allocations: 0 / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.09889, allocations: 4 kB / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.09896, allocations: 23.92 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.0993, allocations: 292.8 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.09945, allocations: 54.67 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.09951, allocations: 16.86 kB / 494.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.09953, allocations: 7.938 kB / 494.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.09969, allocations: 67.33 kB / 494.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.0997, allocations: 0 / 494.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.1002, allocations: 177.2 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1002, allocations: 51.41 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1004, allocations: 186.2 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1004, allocations: 29.7 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1005, allocations: 100.1 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1005, allocations: 23.66 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1005, allocations: 0 / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.1006, allocations: 326.8 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.1007, allocations: 23.98 kB / 495.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.1008, allocations: 33.7 kB / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1009, allocations: 69.69 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1009, allocations: 0 / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.101, allocations: 89.59 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1011, allocations: 11.44 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1011, allocations: 4.031 kB / 495.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1011, allocations: 0 / 495.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.1012, allocations: 19.92 kB / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1012, allocations: 4 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.1013, allocations: 7.938 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1013, allocations: 4.375 kB / 495.9 MB, free: 5.332 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 0.0001034/0.1014, allocations: 125.6 kB / 496 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1014, allocations: 19.81 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.1014, allocations: 16.66 kB / 496.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1015, allocations: 4 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1015, allocations: 4 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1015, allocations: 7.922 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.1019, allocations: 387.3 kB / 496.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1019, allocations: 0 / 496.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1019, allocations: 8 kB / 496.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1019, allocations: 3.938 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1019, allocations: 8 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1019, allocations: 7.969 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.102, allocations: 0 / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1022, allocations: 192.5 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1022, allocations: 96.91 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1023, allocations: 11.86 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.1023, allocations: 4 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1024, allocations: 15.98 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1024, allocations: 0 / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.884e-05/0.1025, allocations: 148 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1025, allocations: 0 / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1027, allocations: 20 kB / 497 MB, free: 4.176 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.001225/0.104, allocations: 1.105 MB / 498.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1041, allocations: 55.92 kB / 498.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1041, allocations: 4.062 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1042, allocations: 23.98 kB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1045, allocations: 39.12 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1056, allocations: 0.7286 MB / 498.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1058, allocations: 0.7004 MB / 499.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1059, allocations: 39.42 kB / 499.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1059, allocations: 0 / 499.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/2.948, allocations: 2.202 MB / 0.4901 GB, free: 42.24 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches