Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001325/0.001325, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001196/0.001195, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 64.03 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3359, allocations: 60.83 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002717/0.3387, allocations: 1.698 MB / 0.5202 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3401, allocations: 0.8707 MB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.3402, allocations: 4.938 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3405, allocations: 28.92 kB / 0.5211 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3407, allocations: 57.73 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.341, allocations: 113.6 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3412, allocations: 95.61 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3413, allocations: 15 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.3414, allocations: 37.86 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3415, allocations: 34.81 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3415, allocations: 3.375 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3416, allocations: 46.72 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.3417, allocations: 16.75 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.3417, allocations: 31.92 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.342, allocations: 106.9 kB / 0.5216 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.342, allocations: 4.938 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.342, allocations: 0 / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.342, allocations: 0 / 0.5216 GB, free: 1.242 MB / 382.1 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.0005271/0.3425, allocations: 401 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3426, allocations: 9.312 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.3426, allocations: 36.31 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.3427, allocations: 10.03 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.3429, allocations: 215 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3429, allocations: 3.172 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.343, allocations: 6.25 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3431, allocations: 53.42 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3431, allocations: 0.75 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3432, allocations: 8.969 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3432, allocations: 1.156 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.3433, allocations: 18.92 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.3435, allocations: 286.3 kB / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3437, allocations: 56.03 kB / 0.5226 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.3438, allocations: 21.06 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3438, allocations: 1.062 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.3439, allocations: 70.41 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.344, allocations: 0 / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.3444, allocations: 171.5 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3445, allocations: 61.72 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3447, allocations: 156 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3447, allocations: 30.92 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.3447, allocations: 97.25 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.3448, allocations: 22.91 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3448, allocations: 30.14 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3449, allocations: 321.6 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.345, allocations: 16.88 kB / 0.5236 GB, free: 15.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.3451, allocations: 42.7 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3452, allocations: 62.89 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3452, allocations: 0 / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.3454, allocations: 103.8 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3454, allocations: 6.125 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3454, allocations: 5.125 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3455, allocations: 1.094 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.3456, allocations: 23.11 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3456, allocations: 1.031 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3456, allocations: 2.938 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3456, allocations: 3.688 kB / 0.5238 GB, free: 15.21 MB / 398.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 (10): * Single equations (assignments): 10 * 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 0.0001045/0.3457, allocations: 134.7 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3458, allocations: 8.5 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.3458, allocations: 22.28 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3458, allocations: 1.125 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3458, allocations: 1.094 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3458, allocations: 0.7031 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.3463, allocations: 387.7 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3463, allocations: 1.875 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.3464, allocations: 15.66 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3464, allocations: 0.75 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3464, allocations: 2.891 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3464, allocations: 1.094 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3464, allocations: 1.156 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3467, allocations: 208 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.3467, allocations: 88.92 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3467, allocations: 5.75 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3468, allocations: 2.953 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3469, allocations: 5.781 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3469, allocations: 4.281 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.347, allocations: 125 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.347, allocations: 0 / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3472, allocations: 22 kB / 0.5248 GB, free: 14.34 MB / 398.1 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 (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.001328/0.3486, allocations: 1.105 MB / 0.5259 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3488, allocations: 53.08 kB / 0.526 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3488, allocations: 0 / 0.526 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.3489, allocations: 32.06 kB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3492, allocations: 31.62 kB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.3508, allocations: 1.573 MB / 0.5276 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.351, allocations: 0.6974 MB / 0.5282 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.3511, allocations: 11.69 kB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.3512, allocations: 30.73 kB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3512, allocations: 4 kB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.3702, allocations: 3.309 MB / 0.5315 GB, free: 10 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.846, allocations: 18.17 kB / 0.5315 GB, free: 9.988 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches