Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001439, 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.001308/0.001308, allocations: 201.2 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.466/1.466, 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.2242/0.2242, allocations: 46.12 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 87.8 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3274, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003331/0.3308, allocations: 1.739 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3324, allocations: 1.015 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3325, allocations: 5.312 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3328, allocations: 58.2 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.3331, allocations: 101.8 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3333, allocations: 78.92 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3335, allocations: 101 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.3336, allocations: 10.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.3337, allocations: 40.3 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.108e-05/0.3338, allocations: 41.39 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3338, allocations: 4.125 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.3339, allocations: 35.5 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.334, allocations: 30.84 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.3341, allocations: 49.23 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3343, allocations: 136.6 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3343, allocations: 1.375 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3343, allocations: 0 / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3343, allocations: 0 / 0.5341 GB, free: 10.78 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.0005821/0.3349, allocations: 455.5 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.335, allocations: 9.625 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.335, allocations: 36.06 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3351, allocations: 15.72 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3354, allocations: 232.2 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3354, allocations: 1.75 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3355, allocations: 5.312 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3356, allocations: 54.05 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3356, allocations: 1.375 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3356, allocations: 0 / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3356, allocations: 1.375 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.3357, allocations: 17.61 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3361, allocations: 308.3 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3363, allocations: 61.86 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.3364, allocations: 17.11 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3364, allocations: 1.375 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.3366, allocations: 73.12 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3366, allocations: 0 / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000516/0.3371, allocations: 185 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3372, allocations: 52.78 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.3375, allocations: 279.4 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3375, allocations: 26.86 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.3376, allocations: 116 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3376, allocations: 23.11 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.3376, allocations: 28.33 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3378, allocations: 328.4 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.3379, allocations: 26.36 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.3379, allocations: 35.89 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3381, allocations: 50.66 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3381, allocations: 1.188 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.3383, allocations: 116.4 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3383, allocations: 5.656 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3383, allocations: 1.156 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3383, allocations: 1.156 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.3384, allocations: 20.92 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3384, allocations: 1 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.3385, allocations: 5.875 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3385, allocations: 6.219 kB / 0.5365 GB, free: 8.473 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.0001181/0.3386, allocations: 137.8 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3386, allocations: 19.39 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.3387, allocations: 29.08 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3387, allocations: 1.344 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3387, allocations: 0 / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3387, allocations: 3.938 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.3392, allocations: 404.6 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3392, allocations: 1.281 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3393, allocations: 12.12 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3393, allocations: 3.938 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3393, allocations: 6.484 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3393, allocations: 0 / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3393, allocations: 1.094 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3395, allocations: 209.7 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3396, allocations: 88.92 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3396, allocations: 10.47 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.3397, allocations: 1.375 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3398, allocations: 11.98 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3398, allocations: 2.625 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.34, allocations: 203.6 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.34, allocations: 0 / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3403, allocations: 25.44 kB / 0.5377 GB, free: 7.477 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.002068/0.3423, allocations: 1.107 MB / 0.5387 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.3425, allocations: 59.14 kB / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3425, allocations: 0 / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.3426, allocations: 33.66 kB / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.343, allocations: 33.75 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3451, allocations: 1.838 MB / 0.5407 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3455, allocations: 0.7162 MB / 0.5414 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.3456, allocations: 18.17 kB / 0.5414 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.3457, allocations: 44.58 kB / 0.5414 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3457, allocations: 0 / 0.5414 GB, free: 4.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3744, allocations: 3.786 MB / 0.5451 GB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.397, allocations: 8.812 kB / 0.5451 GB, free: 2.254 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches