Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 118.2 kB / 17.79 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.002081/0.002081, allocations: 206 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.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 75.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3288, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003105/0.332, allocations: 1.665 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3339, allocations: 1.2 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.334, allocations: 3.938 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3342, allocations: 24.52 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3346, allocations: 85.58 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.335, allocations: 173.2 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3352, allocations: 84.12 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3353, allocations: 13.44 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.3353, allocations: 34.72 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3356, allocations: 40.34 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3356, allocations: 5.5 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.3358, allocations: 100.1 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.3358, allocations: 22.8 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3359, allocations: 33.28 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3362, allocations: 155.5 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3362, allocations: 0 / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3362, allocations: 0 / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3362, allocations: 0 / 0.5342 GB, free: 10.62 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.0005974/0.3368, allocations: 431.6 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3368, allocations: 9.625 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.3369, allocations: 32.12 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3369, allocations: 9.016 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3372, allocations: 209.4 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3372, allocations: 1.75 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3372, allocations: 7.062 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3374, allocations: 82.52 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3374, allocations: 5.375 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3375, allocations: 0 / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3375, allocations: 1.375 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3376, allocations: 37.95 kB / 0.535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.3381, allocations: 315.1 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3382, allocations: 53.8 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.3383, allocations: 25.31 kB / 0.5353 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3384, allocations: 8.047 kB / 0.5353 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3384, allocations: 31.94 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3384, allocations: 0 / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008629/0.3393, allocations: 230.8 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.3395, allocations: 78.48 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3397, allocations: 161.7 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3397, allocations: 27.05 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3399, allocations: 104 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.34, allocations: 26.23 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.34, allocations: 24.14 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.3403, allocations: 317.5 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3404, allocations: 41.55 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3406, allocations: 58.16 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3409, allocations: 94.31 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3409, allocations: 0 / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000315/0.3412, allocations: 125.9 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3412, allocations: 4.531 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3412, allocations: 0 / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3413, allocations: 1.125 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3414, allocations: 30.69 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3414, allocations: 1.125 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.3415, allocations: 9.625 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3415, allocations: 6.203 kB / 0.5367 GB, free: 8.32 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 (7): * Single equations (assignments): 7 * 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.0001172/0.3416, allocations: 119.6 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3417, allocations: 12.62 kB / 0.5368 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.342, allocations: 139.4 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.342, allocations: 0 / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3421, allocations: 4.781 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3421, allocations: 7.875 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.3427, allocations: 420.1 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3427, allocations: 4 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.3428, allocations: 19.8 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3428, allocations: 0 / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3428, allocations: 5.188 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3428, allocations: 0 / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3428, allocations: 1.156 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3432, allocations: 227.4 kB / 0.5376 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.3432, allocations: 84.16 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.3433, allocations: 9.094 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.3434, allocations: 10.36 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3434, allocations: 6.109 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3434, allocations: 2.156 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3435, allocations: 119.2 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 1.406 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3439, allocations: 46.78 kB / 0.5378 GB, free: 7.277 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 (7): * Single equations (assignments): 7 * 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.002347/0.3462, allocations: 1.146 MB / 0.539 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.3465, allocations: 97.09 kB / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3466, allocations: 0 / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3467, allocations: 48.28 kB / 0.5391 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3471, allocations: 31.41 kB / 0.5391 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3492, allocations: 1.638 MB / 0.5407 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3495, allocations: 0.7031 MB / 0.5414 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3497, allocations: 30.92 kB / 0.5414 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.3498, allocations: 36.8 kB / 0.5415 GB, free: 4.148 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3498, allocations: 0 / 0.5415 GB, free: 4.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3766, allocations: 3.597 MB / 0.545 GB, free: 2.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.489, allocations: 4.891 kB / 0.545 GB, free: 2.113 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches