Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001328, allocations: 122.2 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.0013/0.001301, 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003829/0.003829, allocations: 79.88 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3485, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004/0.3526, allocations: 1.738 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3554, allocations: 1.63 MB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3555, allocations: 1.188 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3559, allocations: 41.45 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.3563, allocations: 99.47 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3566, allocations: 72.22 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.3569, allocations: 105.9 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.357, allocations: 14.55 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3572, allocations: 48.14 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.3574, allocations: 43.33 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.3574, allocations: 5.125 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.3577, allocations: 114.7 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.3578, allocations: 16.05 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.3579, allocations: 36.03 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.3583, allocations: 170.3 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3583, allocations: 1.375 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.3583, allocations: 0 / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3583, allocations: 3.938 kB / 0.5347 GB, free: 10.21 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.0008217/0.3592, allocations: 430.2 kB / 0.5351 GB, free: 9.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.3592, allocations: 9.625 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.3593, allocations: 32.12 kB / 0.5352 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.3593, allocations: 12.97 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3598, allocations: 215.6 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3598, allocations: 1.375 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3598, allocations: 2.75 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.36, allocations: 78.45 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3601, allocations: 0 / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3601, allocations: 1.375 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3601, allocations: 7.922 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.3602, allocations: 18.98 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.3607, allocations: 289.5 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3609, allocations: 61.88 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.361, allocations: 21.09 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.361, allocations: 1.375 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3612, allocations: 65.14 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.589e-06/0.3612, allocations: 0 / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007164/0.362, allocations: 177.7 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3621, allocations: 86.11 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3623, allocations: 164.2 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3623, allocations: 26.73 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.3624, allocations: 101 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.3624, allocations: 27.66 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3625, allocations: 23.73 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3627, allocations: 318.2 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.3627, allocations: 23.36 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.3628, allocations: 52.69 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.363, allocations: 59.7 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.363, allocations: 0 / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.3632, allocations: 99.56 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3632, allocations: 5.125 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3632, allocations: 64 / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3633, allocations: 9.266 kB / 0.5371 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.3634, allocations: 16.94 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3634, allocations: 1.219 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.3634, allocations: 6.031 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3635, allocations: 3.281 kB / 0.5371 GB, free: 7.953 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.0001182/0.3636, allocations: 124.4 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.3636, allocations: 8.672 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3637, allocations: 13.09 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3637, allocations: 9.125 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3637, allocations: 0 / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3637, allocations: 3.984 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.3642, allocations: 404.4 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3642, allocations: 5.188 kB / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.3643, allocations: 7.469 kB / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3643, allocations: 1.125 kB / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3643, allocations: 6.188 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3643, allocations: 1.125 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3643, allocations: 4.031 kB / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3646, allocations: 208 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.3647, allocations: 88.41 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3647, allocations: 1.125 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.3648, allocations: 2.438 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3649, allocations: 15.55 kB / 0.5379 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3649, allocations: 3.25 kB / 0.5379 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3651, allocations: 127.3 kB / 0.5381 GB, free: 7.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3651, allocations: 1.125 kB / 0.5381 GB, free: 7.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3654, allocations: 45.36 kB / 0.5381 GB, free: 6.992 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.00265/0.3681, allocations: 1.19 MB / 0.5393 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3683, allocations: 54.75 kB / 0.5393 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3683, allocations: 0 / 0.5393 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.3684, allocations: 38.61 kB / 0.5394 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3688, allocations: 29.05 kB / 0.5394 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3708, allocations: 1.58 MB / 0.5409 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3711, allocations: 0.7035 MB / 0.5416 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.3712, allocations: 23.09 kB / 0.5416 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.3713, allocations: 42.25 kB / 0.5417 GB, free: 3.859 MB / 398.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3713, allocations: 0 / 0.5417 GB, free: 3.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3986, allocations: 4.02 MB / 0.5456 GB, free: 1.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.517, allocations: 14.31 kB / 0.5456 GB, free: 1.621 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches