Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001245/0.001245, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 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.2696/0.2696, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 76.09 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3222, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002858/0.3251, allocations: 1.6 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3261, allocations: 0.5449 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.3262, allocations: 3.938 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.3264, allocations: 15.67 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.3267, allocations: 86.98 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.327, allocations: 114.3 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3272, allocations: 61.66 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3273, allocations: 11.03 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.3273, allocations: 24.55 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3274, allocations: 26.97 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3274, allocations: 7.062 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.3275, allocations: 31.48 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.3276, allocations: 13.06 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3276, allocations: 27.34 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3278, allocations: 82.2 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3278, allocations: 5.562 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3279, allocations: 0 / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3279, allocations: 0 / 0.5331 GB, free: 11.43 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.0004749/0.3283, allocations: 376.6 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3284, allocations: 12.66 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.3284, allocations: 32.06 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3285, allocations: 8.656 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3287, allocations: 196.6 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3287, allocations: 5.438 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3287, allocations: 2.938 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3289, allocations: 51.69 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3289, allocations: 0.9688 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3289, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3289, allocations: 1.125 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.329, allocations: 29.31 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.3294, allocations: 281.1 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3296, allocations: 51.89 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.3297, allocations: 11.92 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3297, allocations: 5.219 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3298, allocations: 35.64 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3298, allocations: 3.938 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005694/0.3304, allocations: 154.7 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3304, allocations: 53.53 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3306, allocations: 150.7 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3306, allocations: 25.7 kB / 0.5345 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.3307, allocations: 99.22 kB / 0.5346 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3307, allocations: 15.12 kB / 0.5346 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3307, allocations: 13.06 kB / 0.5347 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3309, allocations: 325.8 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.769e-05/0.331, allocations: 19.3 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.331, allocations: 25.41 kB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3312, allocations: 58.39 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3312, allocations: 0 / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/0.3314, allocations: 84.58 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3314, allocations: 8.109 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3314, allocations: 1.375 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3315, allocations: 0 / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.3315, allocations: 9.625 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3316, allocations: 5.375 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3316, allocations: 6.734 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3316, allocations: 5.594 kB / 0.5352 GB, free: 9.402 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 9e-05/0.3317, allocations: 119.3 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3317, allocations: 6.656 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.332, allocations: 105.6 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.332, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.332, allocations: 5.375 kB / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3321, allocations: 0 / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.3325, allocations: 358.9 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3325, allocations: 1.438 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3326, allocations: 17.61 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3326, allocations: 0 / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3326, allocations: 1.375 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3326, allocations: 3.938 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3326, allocations: 5.375 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3329, allocations: 181.8 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3329, allocations: 86.33 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3329, allocations: 5.312 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.333, allocations: 18.61 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.3331, allocations: 2.75 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3331, allocations: 5.375 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.3332, allocations: 125.3 kB / 0.5362 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3332, allocations: 0 / 0.5362 GB, free: 8.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3334, allocations: 15 kB / 0.5362 GB, free: 8.434 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.001412/0.3348, allocations: 0.9975 MB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3351, allocations: 55.67 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3351, allocations: 4 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.3352, allocations: 25.08 kB / 0.5373 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3355, allocations: 22.58 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3371, allocations: 1.462 MB / 0.5387 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3375, allocations: 0.6916 MB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.3375, allocations: 19.83 kB / 0.5394 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.3376, allocations: 24.02 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3376, allocations: 0 / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3579, allocations: 2.585 MB / 0.5419 GB, free: 4.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.978, allocations: 10.08 kB / 0.542 GB, free: 4.039 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches