Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001262, allocations: 118.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 202 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, 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.2351/0.2351, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 87.88 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3383, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003123/0.3414, allocations: 1.726 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3431, allocations: 1.022 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.3432, allocations: 1.375 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3434, allocations: 37.39 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3437, allocations: 91.11 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.344, allocations: 78.92 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3441, allocations: 105.4 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.3442, allocations: 11.11 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.3443, allocations: 42.91 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.3444, allocations: 38.45 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3444, allocations: 3.094 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.3445, allocations: 44.09 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.3446, allocations: 18.36 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.3447, allocations: 36.34 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3449, allocations: 116.2 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3449, allocations: 3.984 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3449, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3449, allocations: 1.25 kB / 0.534 GB, free: 10.82 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.0005558/0.3455, allocations: 415 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3455, allocations: 9.969 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.3456, allocations: 39.83 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3456, allocations: 13.31 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3459, allocations: 220.2 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3459, allocations: 1.5 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.346, allocations: 10.31 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3461, allocations: 50.36 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3461, allocations: 3.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3462, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3462, allocations: 9.266 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.3462, allocations: 18.3 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.3466, allocations: 290.4 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3468, allocations: 53.48 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.3469, allocations: 26.17 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3469, allocations: 1.156 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3471, allocations: 68.95 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3471, allocations: 0 / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.3476, allocations: 181.6 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3477, allocations: 52.69 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3479, allocations: 190.6 kB / 0.5356 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3479, allocations: 25.7 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.348, allocations: 101.6 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.348, allocations: 19.98 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3481, allocations: 31.2 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3483, allocations: 323 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.3483, allocations: 15 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.3484, allocations: 35.45 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3485, allocations: 66.45 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3485, allocations: 5.375 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.3487, allocations: 106.8 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3488, allocations: 5.5 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3488, allocations: 0 / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3488, allocations: 1.375 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3489, allocations: 13.75 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3489, allocations: 0 / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.3489, allocations: 14.61 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.349, allocations: 3.125 kB / 0.5363 GB, free: 8.609 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.0001145/0.3491, allocations: 126.1 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3491, allocations: 9.453 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.3492, allocations: 21.45 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3492, allocations: 1.375 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3492, allocations: 4 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.3492, allocations: 5.312 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.3497, allocations: 392.5 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3497, allocations: 1.469 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.3497, allocations: 15.36 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3497, allocations: 9.344 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3498, allocations: 5.062 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3498, allocations: 1.125 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3498, allocations: 1.125 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.35, allocations: 199.6 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.3501, allocations: 92.3 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3501, allocations: 10.02 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.3502, allocations: 2.062 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.3502, allocations: 11.22 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3503, allocations: 7.109 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3504, allocations: 136.3 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3504, allocations: 0 / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3506, allocations: 20.25 kB / 0.5373 GB, free: 7.648 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.002256/0.3529, allocations: 1.092 MB / 0.5384 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3531, allocations: 57.73 kB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3531, allocations: 1.094 kB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3532, allocations: 37.16 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3536, allocations: 28.03 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3558, allocations: 1.641 MB / 0.5401 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.3562, allocations: 0.7017 MB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.3563, allocations: 14.84 kB / 0.5408 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.3564, allocations: 39.03 kB / 0.5409 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3564, allocations: 4 kB / 0.5409 GB, free: 4.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3821, allocations: 3.381 MB / 0.5442 GB, free: 2.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.429, allocations: 15.75 kB / 0.5442 GB, free: 2.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches