Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 121.1 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.00129/0.00129, allocations: 203.8 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.38/1.38, 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.225/0.225, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 84.08 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002986/0.3255, allocations: 1.732 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3279, allocations: 1.625 MB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.328, allocations: 5.312 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3283, allocations: 37.39 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3287, allocations: 99.03 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.3289, allocations: 80.28 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.329, allocations: 101.6 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3291, allocations: 10.94 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.3292, allocations: 60.98 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3294, allocations: 38.17 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3294, allocations: 8.844 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3296, allocations: 111.5 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.3297, allocations: 15.83 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.3298, allocations: 32.33 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.33, allocations: 170.2 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3301, allocations: 1.25 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3301, allocations: 0 / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3301, allocations: 0 / 0.5347 GB, free: 10.26 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.0006133/0.3307, allocations: 434.2 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3307, allocations: 9.156 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.3308, allocations: 35.73 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.3308, allocations: 17.39 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3311, allocations: 216.4 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3312, allocations: 1.125 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3312, allocations: 2.25 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3314, allocations: 78.8 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3314, allocations: 0 / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3314, allocations: 1.094 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3314, allocations: 0 / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3315, allocations: 18.36 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3319, allocations: 285.6 kB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3321, allocations: 66.42 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.3321, allocations: 17.36 kB / 0.5359 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3321, allocations: 1.281 kB / 0.5359 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3323, allocations: 65.95 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3323, allocations: 3.938 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.3328, allocations: 177.2 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3329, allocations: 86.42 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3331, allocations: 165 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3331, allocations: 27.08 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.3332, allocations: 100.2 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.3332, allocations: 31.86 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3333, allocations: 20.59 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3334, allocations: 321.6 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.3335, allocations: 26.98 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.3336, allocations: 45.75 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3337, allocations: 58.5 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3337, allocations: 1.375 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3339, allocations: 102.4 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3339, allocations: 8.25 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3339, allocations: 4.062 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3339, allocations: 1.531 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.334, allocations: 16.12 kB / 0.5371 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.334, allocations: 6.297 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.3341, allocations: 6.094 kB / 0.5371 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3341, allocations: 2.188 kB / 0.5371 GB, free: 7.992 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.0001209/0.3342, allocations: 120.3 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3343, allocations: 9.266 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3343, allocations: 21.09 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3343, allocations: 9 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3344, allocations: 0 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3344, allocations: 0 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.3348, allocations: 400.3 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3349, allocations: 5 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3349, allocations: 7.469 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3349, allocations: 1.062 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3349, allocations: 6.078 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3349, allocations: 5.062 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3349, allocations: 0 / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3352, allocations: 207.9 kB / 0.5378 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.3353, allocations: 88.81 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3353, allocations: 1.5 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3354, allocations: 6.766 kB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3355, allocations: 15.2 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3355, allocations: 3.625 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3356, allocations: 131.5 kB / 0.5381 GB, free: 7.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 0 / 0.5381 GB, free: 7.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.336, allocations: 41.12 kB / 0.5381 GB, free: 7.031 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.002554/0.3385, allocations: 1.194 MB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3387, allocations: 54.28 kB / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3388, allocations: 0 / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.3388, allocations: 38.33 kB / 0.5394 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3392, allocations: 33.3 kB / 0.5394 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.341, allocations: 1.583 MB / 0.5409 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3413, allocations: 0.7031 MB / 0.5416 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.403e-05/0.3414, allocations: 16.12 kB / 0.5416 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.3415, allocations: 38.22 kB / 0.5417 GB, free: 3.898 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3415, allocations: 3.938 kB / 0.5417 GB, free: 3.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.3685, allocations: 4.014 MB / 0.5456 GB, free: 1.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.947, allocations: 18.36 kB / 0.5456 GB, free: 1.656 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches