Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",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.0008377/0.0008378, allocations: 175.5 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.187/1.187, 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.0006413/0.0006413, allocations: 90.36 kB / 271.2 MB, free: 8.262 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.2796/0.2796, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 20 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08984, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00175/0.09163, allocations: 1.398 MB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.09265, allocations: 0.7383 MB / 493.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.09272, allocations: 0 / 493.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.09295, allocations: 43.81 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.09312, allocations: 51.83 kB / 493.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.09333, allocations: 71.84 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.09348, allocations: 103.7 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.09356, allocations: 16.2 kB / 493.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.09365, allocations: 43.78 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.09373, allocations: 43.83 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.09375, allocations: 3.938 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.09383, allocations: 35.98 kB / 493.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.09388, allocations: 27.92 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.09394, allocations: 65.42 kB / 493.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.09408, allocations: 92.08 kB / 493.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09409, allocations: 0 / 493.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0941, allocations: 0 / 493.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.09411, allocations: 0 / 493.7 MB, free: 7.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000424/0.09454, allocations: 407 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.09458, allocations: 12.03 kB / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.09462, allocations: 38.73 kB / 494.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.09466, allocations: 16.75 kB / 494.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.09487, allocations: 220.8 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.09489, allocations: 384 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.09492, allocations: 7.938 kB / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.09507, allocations: 65.61 kB / 494.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.09508, allocations: 0 / 494.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.0951, allocations: 7.984 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.09511, allocations: 0 / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.09521, allocations: 35.97 kB / 494.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.09554, allocations: 308.8 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.09573, allocations: 78.61 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.0958, allocations: 32.78 kB / 494.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.09583, allocations: 4 kB / 494.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.096, allocations: 83.38 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.09601, allocations: 0 / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005351/0.09655, allocations: 229.1 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.09659, allocations: 55.34 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.09674, allocations: 184.7 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.09676, allocations: 29.7 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.09682, allocations: 100.1 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.09685, allocations: 35.56 kB / 495.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.09686, allocations: 4 kB / 495.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.09695, allocations: 322.8 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.09702, allocations: 31.98 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.0971, allocations: 45.62 kB / 496 MB, free: 5.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.09724, allocations: 81.64 kB / 496 MB, free: 5.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.09725, allocations: 4 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001939/0.09745, allocations: 125.5 kB / 496.2 MB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.09747, allocations: 4 kB / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.09747, allocations: 0 / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.09749, allocations: 4 kB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.09758, allocations: 16 kB / 496.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.09759, allocations: 3.938 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.09764, allocations: 8.172 kB / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.09766, allocations: 0 / 496.2 MB, free: 5.035 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 (12): * Single equations (assignments): 12 * 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 8.225e-05/0.09775, allocations: 137.8 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.09777, allocations: 15.8 kB / 496.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.09782, allocations: 21.88 kB / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09783, allocations: 0 / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.09784, allocations: 3.938 kB / 496.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.09785, allocations: 0 / 496.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.09827, allocations: 427.3 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09829, allocations: 4.031 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.09833, allocations: 15.98 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.09834, allocations: 3.938 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.09836, allocations: 7.938 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.09836, allocations: 4 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.09837, allocations: 0 / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.0986, allocations: 232.1 kB / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.09865, allocations: 88.95 kB / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.09869, allocations: 12 kB / 497.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.09877, allocations: 7.984 kB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.09881, allocations: 4 kB / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.09883, allocations: 7.984 kB / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.09893, allocations: 136.9 kB / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.863e-06/0.09894, allocations: 0 / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.09917, allocations: 35.92 kB / 497.3 MB, free: 3.789 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 (10): * Single equations (assignments): 8 * 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.001201/0.1004, allocations: 1.13 MB / 498.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1006, allocations: 79.91 kB / 498.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1006, allocations: 0 / 498.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.1007, allocations: 39.92 kB / 498.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.101, allocations: 23.98 kB / 498.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.102, allocations: 0.8178 MB / 499.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1023, allocations: 0.7087 MB / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.1023, allocations: 43.41 kB / 0.4885 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1023, allocations: 0 / 0.4885 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.878/2.98, allocations: 2.408 MB / 0.4908 GB, free: 42.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches