Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 197.2 kB / 18.74 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.356/1.356, 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.2166/0.2166, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002983/0.322, allocations: 1.618 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.323, allocations: 0.5464 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.3231, allocations: 1.688 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3234, allocations: 74.75 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.3237, allocations: 104.7 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.324, allocations: 110.5 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3242, allocations: 79.55 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3243, allocations: 25.12 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.3243, allocations: 34.84 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3244, allocations: 51.95 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3245, allocations: 3.531 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.3246, allocations: 44.89 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.3246, allocations: 19.05 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.3247, allocations: 33.11 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3249, allocations: 104.1 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3249, allocations: 5.375 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3249, allocations: 3.984 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3249, allocations: 0 / 0.5334 GB, free: 11.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000517/0.3254, allocations: 414.2 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3255, allocations: 9.625 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.3255, allocations: 32.12 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3255, allocations: 12.97 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3258, allocations: 200.5 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3258, allocations: 1.75 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3258, allocations: 15.11 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.326, allocations: 57.92 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.326, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.326, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.326, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.3261, allocations: 31.09 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3265, allocations: 299 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3267, allocations: 56.36 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.3267, allocations: 13.11 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3267, allocations: 1.469 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3268, allocations: 38.55 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3268, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008778/0.3277, allocations: 232.6 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3277, allocations: 56.78 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3279, allocations: 203.9 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.328, allocations: 27.08 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.328, allocations: 113.6 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3281, allocations: 34.5 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3281, allocations: 24.58 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3283, allocations: 321.6 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.3284, allocations: 32.05 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.3285, allocations: 29.47 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3286, allocations: 73.42 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3286, allocations: 0 / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000231/0.3289, allocations: 113 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3289, allocations: 10.92 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3289, allocations: 1.156 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3289, allocations: 3.938 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.329, allocations: 18.41 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.329, allocations: 8.234 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.3291, allocations: 7.812 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3291, allocations: 2.125 kB / 0.5358 GB, free: 9.047 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 (8): * Single equations (assignments): 8 * 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.000103/0.3292, allocations: 127.8 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.3293, allocations: 13.66 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3296, allocations: 129.6 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3296, allocations: 5.172 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3296, allocations: 3.938 kB / 0.5361 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3296, allocations: 0 / 0.5361 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.3302, allocations: 426.2 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3302, allocations: 1.094 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.3303, allocations: 21.67 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3303, allocations: 1.672 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3303, allocations: 1.094 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3303, allocations: 1.188 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3303, allocations: 1.125 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3306, allocations: 220.2 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.3307, allocations: 91.55 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3307, allocations: 5.328 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.3308, allocations: 8.125 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3308, allocations: 11.7 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3308, allocations: 2.25 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.331, allocations: 154.6 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.331, allocations: 3.938 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3312, allocations: 18.81 kB / 0.537 GB, free: 7.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002103/0.3333, allocations: 1.095 MB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3336, allocations: 84.23 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3336, allocations: 0 / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3337, allocations: 39.95 kB / 0.5382 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.334, allocations: 15.39 kB / 0.5382 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.336, allocations: 1.682 MB / 0.5399 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3364, allocations: 0.7073 MB / 0.5405 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.3365, allocations: 20.55 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.3365, allocations: 33.3 kB / 0.5406 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3365, allocations: 5.219 kB / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.36, allocations: 3.088 MB / 0.5436 GB, free: 3.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.057, allocations: 7.641 kB / 0.5436 GB, free: 3.168 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches