Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3364, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002799/0.3393, allocations: 1.591 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.3402, allocations: 0.5309 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.3403, allocations: 6.062 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3405, allocations: 27.91 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3408, allocations: 79.69 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.341, allocations: 88.36 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3412, allocations: 64.55 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.3413, allocations: 13.48 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.3414, allocations: 29.48 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.3414, allocations: 17.38 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3414, allocations: 2.75 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.3415, allocations: 32.59 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.3416, allocations: 16.05 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.3416, allocations: 19.94 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3418, allocations: 85.47 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3418, allocations: 1.375 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3418, allocations: 0 / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3418, allocations: 0 / 0.5331 GB, free: 11.45 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.0004394/0.3422, allocations: 383.8 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3423, allocations: 9.625 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.3423, allocations: 36.06 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.3424, allocations: 11.58 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3425, allocations: 189.8 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3426, allocations: 5.688 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3426, allocations: 5.734 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3427, allocations: 55.23 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3428, allocations: 5.281 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3428, allocations: 0 / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3428, allocations: 1.344 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.3429, allocations: 21.3 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3432, allocations: 270.3 kB / 0.534 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3434, allocations: 43.5 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.3435, allocations: 23.56 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3435, allocations: 1.438 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3436, allocations: 30.56 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3436, allocations: 1.438 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005601/0.3441, allocations: 144.4 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3442, allocations: 56.56 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3443, allocations: 157.7 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3444, allocations: 26.98 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.3444, allocations: 98.62 kB / 0.5346 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3444, allocations: 14.28 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3445, allocations: 13.34 kB / 0.5346 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3446, allocations: 326.1 kB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.3447, allocations: 21.92 kB / 0.5349 GB, free: 9.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.3447, allocations: 19.05 kB / 0.535 GB, free: 9.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3449, allocations: 47.61 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3449, allocations: 0 / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001844/0.3451, allocations: 80.8 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3451, allocations: 5.562 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3451, allocations: 0 / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3451, allocations: 5.219 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.3452, allocations: 13.55 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3452, allocations: 0 / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.3453, allocations: 7.516 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3453, allocations: 5.125 kB / 0.5351 GB, free: 9.434 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 7.769e-05/0.3454, allocations: 119 kB / 0.5352 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.3454, allocations: 7.688 kB / 0.5352 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3456, allocations: 97.09 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3457, allocations: 1.062 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3457, allocations: 0 / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3457, allocations: 0 / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.3461, allocations: 351.3 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3461, allocations: 64 / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.3462, allocations: 18.05 kB / 0.5357 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3462, allocations: 4 kB / 0.5357 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3462, allocations: 5.438 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3462, allocations: 3.938 kB / 0.5357 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3462, allocations: 1.344 kB / 0.5357 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.3464, allocations: 171.6 kB / 0.5359 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3465, allocations: 86.69 kB / 0.5359 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3465, allocations: 5.281 kB / 0.5359 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3466, allocations: 10.28 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.3466, allocations: 10.36 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3466, allocations: 1.344 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.132e-05/0.3467, allocations: 120.6 kB / 0.5361 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3467, allocations: 1.375 kB / 0.5361 GB, free: 8.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.347, allocations: 21.61 kB / 0.5361 GB, free: 8.48 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.001246/0.3482, allocations: 0.9969 MB / 0.5371 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3485, allocations: 47.41 kB / 0.5371 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3485, allocations: 0 / 0.5371 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.3486, allocations: 28.47 kB / 0.5371 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3489, allocations: 26.69 kB / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3505, allocations: 1.426 MB / 0.5386 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3508, allocations: 0.6984 MB / 0.5392 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.3509, allocations: 16.75 kB / 0.5393 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.3509, allocations: 24.64 kB / 0.5393 GB, free: 5.57 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3509, allocations: 0 / 0.5393 GB, free: 5.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3713, allocations: 2.558 MB / 0.5418 GB, free: 4.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.019, allocations: 5.375 kB / 0.5418 GB, free: 4.117 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches