Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, 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.001603/0.001603, 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.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 87.84 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003448/0.3474, allocations: 1.733 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3495, allocations: 1.021 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.3496, allocations: 1.156 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.3501, allocations: 43.92 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.3505, allocations: 99.88 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.3507, allocations: 74.61 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3509, allocations: 110.2 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.351, allocations: 10.16 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3511, allocations: 43.47 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.3512, allocations: 34.12 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3513, allocations: 3.562 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3514, allocations: 40.02 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3514, allocations: 23.7 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3515, allocations: 39.92 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3518, allocations: 116.6 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3518, allocations: 5.375 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3518, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3518, allocations: 0 / 0.534 GB, free: 10.79 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.0005919/0.3524, allocations: 425.4 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3524, allocations: 8.781 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.3525, allocations: 40.05 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3525, allocations: 18.38 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.3529, allocations: 215.9 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3529, allocations: 5.75 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3529, allocations: 6.688 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3531, allocations: 54.05 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3531, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3531, allocations: 1.375 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3531, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/0.3532, allocations: 22.98 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3536, allocations: 290.8 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3538, allocations: 65.86 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.3539, allocations: 18.48 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3539, allocations: 0 / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3541, allocations: 69.12 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.3541, allocations: 5.375 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005528/0.3547, allocations: 173.2 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3548, allocations: 52.78 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.355, allocations: 201.4 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.355, allocations: 27.08 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3551, allocations: 100.2 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3551, allocations: 27.91 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3552, allocations: 28.53 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3553, allocations: 325.6 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.3554, allocations: 22.98 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.3555, allocations: 35.45 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3556, allocations: 55.83 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3556, allocations: 0 / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.3558, allocations: 107.5 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3559, allocations: 9.594 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3559, allocations: 5.062 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3559, allocations: 1.031 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.356, allocations: 17.2 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.356, allocations: 3.938 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.3561, allocations: 6.688 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3561, allocations: 3.25 kB / 0.5364 GB, free: 8.574 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.0001131/0.3562, allocations: 126.4 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3562, allocations: 18.56 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3563, allocations: 18.09 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3563, allocations: 1.094 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3563, allocations: 3.984 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3563, allocations: 5.25 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.3568, allocations: 393.6 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3568, allocations: 1.312 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.3569, allocations: 7.688 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3569, allocations: 7.969 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3569, allocations: 6.422 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3569, allocations: 1.375 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3569, allocations: 0 / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3572, allocations: 200.8 kB / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3572, allocations: 88.45 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3573, allocations: 9.062 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.3573, allocations: 10.17 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3574, allocations: 7.453 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3574, allocations: 3.406 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3575, allocations: 149 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3576, allocations: 0 / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3578, allocations: 24.28 kB / 0.5374 GB, free: 7.609 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.002158/0.36, allocations: 1.095 MB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3602, allocations: 66.47 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3602, allocations: 0 / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.3603, allocations: 25.81 kB / 0.5385 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3606, allocations: 28.66 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3626, allocations: 1.656 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3629, allocations: 0.7015 MB / 0.5409 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.363, allocations: 13.88 kB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.3631, allocations: 36.17 kB / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3631, allocations: 0 / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.3896, allocations: 3.462 MB / 0.5443 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.499, allocations: 9.109 kB / 0.5443 GB, free: 2.633 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches