Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001383, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 201.2 kB / 18.73 MB, free: 4.34 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 / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.329, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003093/0.3322, allocations: 1.596 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3332, allocations: 0.5203 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.3333, allocations: 11.88 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.3335, allocations: 24.33 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.3339, allocations: 84.73 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3343, allocations: 82.77 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3344, allocations: 65.14 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.3345, allocations: 15.48 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.3346, allocations: 19.84 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3347, allocations: 27.45 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3347, allocations: 1.781 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.3348, allocations: 33.09 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.3348, allocations: 10.91 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3349, allocations: 24.39 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3351, allocations: 85.94 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3351, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3351, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3351, allocations: 0 / 0.5331 GB, free: 11.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004337/0.3356, allocations: 385.6 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.3356, allocations: 9.531 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3357, allocations: 30.75 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3357, allocations: 9.281 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.3359, allocations: 195.6 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3359, allocations: 4.312 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3359, allocations: 5.859 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3361, allocations: 52.38 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3361, allocations: 0 / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3361, allocations: 1.469 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3361, allocations: 4 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.3362, allocations: 26 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3365, allocations: 271.2 kB / 0.534 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3368, allocations: 42.59 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3368, allocations: 16.02 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3368, allocations: 8.078 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3369, allocations: 32.34 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3369, allocations: 0 / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005626/0.3375, allocations: 140.7 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3375, allocations: 52.78 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3377, allocations: 159.1 kB / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3377, allocations: 27.08 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.3378, allocations: 98.81 kB / 0.5346 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.3378, allocations: 18.55 kB / 0.5346 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3378, allocations: 13.84 kB / 0.5346 GB, free: 9.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.338, allocations: 325.5 kB / 0.5349 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.338, allocations: 21.55 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.3381, allocations: 22.98 kB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3382, allocations: 44.16 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3383, allocations: 0 / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002152/0.3385, allocations: 85.19 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3385, allocations: 5.5 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3385, allocations: 0 / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3385, allocations: 0 / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.3386, allocations: 17.61 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3386, allocations: 1.375 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.3387, allocations: 2.75 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3387, allocations: 5.312 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.735e-05/0.3388, allocations: 123.3 kB / 0.5352 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3388, allocations: 6.656 kB / 0.5352 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.339, allocations: 93.5 kB / 0.5353 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3391, allocations: 5.375 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3391, allocations: 0 / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3391, allocations: 0 / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.3395, allocations: 346.8 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3395, allocations: 1.438 kB / 0.5357 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3395, allocations: 13.62 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3395, allocations: 0 / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3396, allocations: 5.375 kB / 0.5357 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3396, allocations: 11.92 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3396, allocations: 3.984 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3398, allocations: 172.4 kB / 0.5359 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.3399, allocations: 82.39 kB / 0.5359 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3399, allocations: 5.312 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.34, allocations: 10.67 kB / 0.5359 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.34, allocations: 10.97 kB / 0.536 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.34, allocations: 1.375 kB / 0.536 GB, free: 8.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.3401, allocations: 124 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3401, allocations: 1.375 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3404, allocations: 17.34 kB / 0.5361 GB, free: 8.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001294/0.3417, allocations: 1.006 MB / 0.5371 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3419, allocations: 48.72 kB / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3419, allocations: 0 / 0.5371 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.342, allocations: 23.77 kB / 0.5371 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3424, allocations: 25.72 kB / 0.5372 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3443, allocations: 1.437 MB / 0.5386 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3446, allocations: 0.6907 MB / 0.5392 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.3447, allocations: 13.8 kB / 0.5393 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.3447, allocations: 19.34 kB / 0.5393 GB, free: 5.598 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3447, allocations: 4 kB / 0.5393 GB, free: 5.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.3649, allocations: 2.554 MB / 0.5418 GB, free: 4.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.838, allocations: 4.609 kB / 0.5418 GB, free: 4.145 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches