Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001474, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3125, allocations: 62.46 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002788/0.3154, allocations: 1.617 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.3163, allocations: 0.5473 MB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.3164, allocations: 1.031 kB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.3167, allocations: 77.33 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.3169, allocations: 102.1 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3172, allocations: 120.3 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3174, allocations: 79.34 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3175, allocations: 20.73 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.3176, allocations: 31.94 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3177, allocations: 56.77 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3177, allocations: 2.906 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.3178, allocations: 49.16 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.3179, allocations: 24.89 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3179, allocations: 33.11 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3181, allocations: 110 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3181, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3181, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3181, allocations: 0 / 0.5334 GB, free: 11.27 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.0005052/0.3186, allocations: 419.5 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3187, allocations: 9.625 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3187, allocations: 36.12 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3188, allocations: 14.34 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.319, allocations: 211.8 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.319, allocations: 3.125 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.319, allocations: 1.75 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3192, allocations: 59.36 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3192, allocations: 0 / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3192, allocations: 1.375 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3192, allocations: 0 / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3194, allocations: 36.34 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3198, allocations: 300.5 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3199, allocations: 52.36 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.32, allocations: 19.66 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.32, allocations: 1.375 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.32, allocations: 35.94 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.32, allocations: 4 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008746/0.3209, allocations: 246.1 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3209, allocations: 52.78 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3212, allocations: 219.2 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3212, allocations: 25.7 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3213, allocations: 109.6 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3213, allocations: 23.75 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3213, allocations: 23.02 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3215, allocations: 327.4 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.3216, allocations: 28.33 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.3217, allocations: 28.72 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3218, allocations: 81.06 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3219, allocations: 0.875 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.3221, allocations: 113.4 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3221, allocations: 7.625 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3221, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3221, allocations: 1.219 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.3222, allocations: 17.11 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3222, allocations: 9.156 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.3223, allocations: 2.375 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3223, allocations: 2.281 kB / 0.5359 GB, free: 9.059 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.0001128/0.3224, allocations: 132.9 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.3225, allocations: 13.66 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3228, allocations: 129.7 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3228, allocations: 2 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3228, allocations: 11.88 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3228, allocations: 0 / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.3234, allocations: 424.5 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3234, allocations: 0 / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.3235, allocations: 26.55 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3235, allocations: 1.125 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3235, allocations: 1 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3235, allocations: 5.062 kB / 0.5366 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3235, allocations: 1 kB / 0.5366 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3238, allocations: 213 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.3238, allocations: 91.73 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3239, allocations: 1.281 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3239, allocations: 15.61 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.324, allocations: 6.531 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.324, allocations: 2.656 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.3241, allocations: 168.5 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 3.938 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3244, allocations: 21.95 kB / 0.5371 GB, free: 7.98 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.002098/0.3265, allocations: 1.088 MB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3268, allocations: 78.62 kB / 0.5382 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3268, allocations: 0 / 0.5382 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.3269, allocations: 43.62 kB / 0.5382 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3272, allocations: 21.92 kB / 0.5383 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3293, allocations: 1.713 MB / 0.5399 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3297, allocations: 0.7077 MB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.637e-05/0.3298, allocations: 24.72 kB / 0.5407 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.3299, allocations: 38.45 kB / 0.5407 GB, free: 4.852 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3299, allocations: 0 / 0.5407 GB, free: 4.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3533, allocations: 3.149 MB / 0.5438 GB, free: 3.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.972, allocations: 5.375 kB / 0.5438 GB, free: 3.129 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches