Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 121.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.001284/0.001284, allocations: 204.6 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.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002219, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 62.46 MB / 0.5307 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003144/0.3547, allocations: 1.726 MB / 0.5324 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3564, allocations: 1.017 MB / 0.5334 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.3565, allocations: 1.219 kB / 0.5334 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.3568, allocations: 47.94 kB / 0.5334 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3572, allocations: 95.38 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.3574, allocations: 75.61 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3576, allocations: 108.7 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3577, allocations: 11.38 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.3578, allocations: 43.62 kB / 0.5338 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.3579, allocations: 33.75 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3579, allocations: 4.375 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.358, allocations: 39.11 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3581, allocations: 22.97 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3581, allocations: 36.05 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3583, allocations: 130.2 kB / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3583, allocations: 0 / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3584, allocations: 0 / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3584, allocations: 1.406 kB / 0.534 GB, free: 11.01 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.0005742/0.3589, allocations: 424.9 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.359, allocations: 12.78 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.359, allocations: 31.88 kB / 0.5345 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3591, allocations: 9.516 kB / 0.5345 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3594, allocations: 221.9 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3594, allocations: 5.25 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3594, allocations: 5.781 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3596, allocations: 58.42 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3596, allocations: 0 / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3596, allocations: 1.094 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3596, allocations: 0.9688 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.3597, allocations: 18.7 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3601, allocations: 286.5 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3603, allocations: 65.33 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.3604, allocations: 22.38 kB / 0.5351 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3604, allocations: 1.062 kB / 0.5351 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3605, allocations: 64.77 kB / 0.5352 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3606, allocations: 4 kB / 0.5352 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000543/0.3611, allocations: 178.7 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3612, allocations: 52.78 kB / 0.5354 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3614, allocations: 197.4 kB / 0.5356 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3614, allocations: 29.7 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3616, allocations: 101.6 kB / 0.5357 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3616, allocations: 23.92 kB / 0.5358 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3616, allocations: 24.58 kB / 0.5358 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3618, allocations: 325.6 kB / 0.5361 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.3619, allocations: 23.06 kB / 0.5361 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.3619, allocations: 43.38 kB / 0.5362 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3621, allocations: 63.89 kB / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3621, allocations: 0 / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.3623, allocations: 103.2 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3623, allocations: 6.219 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3623, allocations: 3.984 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3623, allocations: 5.125 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.3624, allocations: 13.34 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3624, allocations: 1.125 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.3625, allocations: 10.16 kB / 0.5364 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3625, allocations: 6.422 kB / 0.5364 GB, free: 8.793 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.0001137/0.3626, allocations: 127.6 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3627, allocations: 21.28 kB / 0.5365 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.3628, allocations: 22.8 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3628, allocations: 1.031 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3628, allocations: 0 / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3629, allocations: 3.938 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.3634, allocations: 391.3 kB / 0.5369 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3634, allocations: 0 / 0.5369 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3635, allocations: 12.45 kB / 0.5369 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3635, allocations: 7.969 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3635, allocations: 2.344 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3635, allocations: 0.9688 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3635, allocations: 0 / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3637, allocations: 201.7 kB / 0.5371 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.3638, allocations: 87.2 kB / 0.5372 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3638, allocations: 9.609 kB / 0.5372 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.3639, allocations: 5.906 kB / 0.5372 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.364, allocations: 7.719 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.364, allocations: 8.047 kB / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3642, allocations: 143.7 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3642, allocations: 1.188 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3645, allocations: 28.67 kB / 0.5374 GB, free: 7.828 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.002139/0.3666, allocations: 1.095 MB / 0.5385 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3668, allocations: 61.69 kB / 0.5385 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3668, allocations: 0.9062 kB / 0.5385 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.3669, allocations: 29.08 kB / 0.5385 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3673, allocations: 28.98 kB / 0.5386 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3694, allocations: 1.648 MB / 0.5402 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.3698, allocations: 0.7103 MB / 0.5409 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.3699, allocations: 18.02 kB / 0.5409 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.37, allocations: 35.42 kB / 0.5409 GB, free: 4.727 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.37, allocations: 0 / 0.5409 GB, free: 4.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.3964, allocations: 3.462 MB / 0.5443 GB, free: 2.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.535, allocations: 5.078 kB / 0.5443 GB, free: 2.848 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches