Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.88 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3494, allocations: 62.46 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003265/0.3527, allocations: 1.735 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3546, allocations: 1.019 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.3547, allocations: 3.938 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.3551, allocations: 54.12 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.3554, allocations: 103.5 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3557, allocations: 79.27 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3559, allocations: 100.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.356, allocations: 14.89 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.3561, allocations: 35.3 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.3562, allocations: 37.84 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3562, allocations: 4.531 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3564, allocations: 47.45 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.3564, allocations: 26.84 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.3565, allocations: 49.45 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3568, allocations: 136.7 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3568, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3568, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3568, allocations: 2.094 kB / 0.5341 GB, free: 10.75 MB / 398.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.0006886/0.3575, allocations: 450 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3576, allocations: 18.22 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.3576, allocations: 35.84 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.3577, allocations: 19.03 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.3581, allocations: 216.5 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3581, allocations: 1.875 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3581, allocations: 6.188 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3583, allocations: 57.33 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3583, allocations: 1.5 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3583, allocations: 0 / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3583, allocations: 5.109 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3585, allocations: 30.17 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.3589, allocations: 303.2 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3591, allocations: 53.92 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.3592, allocations: 18.48 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.3592, allocations: 5.375 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.3594, allocations: 69.08 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3594, allocations: 0 / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006511/0.3601, allocations: 189.3 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3601, allocations: 51.41 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.3605, allocations: 280.6 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3605, allocations: 25.7 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.3606, allocations: 116.4 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3607, allocations: 23.92 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.3607, allocations: 28.58 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3609, allocations: 323 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.361, allocations: 22.98 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.361, allocations: 35.67 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3612, allocations: 71.12 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3612, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002108/0.3614, allocations: 106 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3614, allocations: 5.344 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3614, allocations: 0 / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3615, allocations: 5.031 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.3616, allocations: 16.83 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3616, allocations: 1.344 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.3616, allocations: 10.47 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3617, allocations: 6.969 kB / 0.5366 GB, free: 8.441 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.0001219/0.3618, allocations: 135.3 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3618, allocations: 19.66 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.3619, allocations: 20.11 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3619, allocations: 1.312 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3619, allocations: 1.188 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3619, allocations: 7.875 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.3624, allocations: 408.6 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3624, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.3625, allocations: 11.53 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3625, allocations: 4.969 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3625, allocations: 2.406 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3625, allocations: 4.953 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3625, allocations: 0 / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3628, allocations: 210.9 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.3628, allocations: 88.45 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3629, allocations: 6.156 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.3629, allocations: 6.062 kB / 0.5374 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.363, allocations: 7.328 kB / 0.5375 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.363, allocations: 3.5 kB / 0.5375 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.3632, allocations: 202.5 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.474e-06/0.3632, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3635, allocations: 30.19 kB / 0.5377 GB, free: 7.449 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.002192/0.3657, allocations: 1.095 MB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3659, allocations: 61.92 kB / 0.5388 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3659, allocations: 1.031 kB / 0.5388 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.366, allocations: 33.61 kB / 0.5388 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3663, allocations: 27.58 kB / 0.5389 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3685, allocations: 1.83 MB / 0.5406 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3689, allocations: 0.7214 MB / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.3689, allocations: 21.83 kB / 0.5414 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.369, allocations: 43.8 kB / 0.5414 GB, free: 4.254 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.369, allocations: 0 / 0.5414 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.3945, allocations: 3.787 MB / 0.5451 GB, free: 2.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.357, allocations: 10.06 kB / 0.5451 GB, free: 2.227 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches