Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001177/0.001177, allocations: 113.2 kB / 17.78 MB, free: 5.273 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: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 79.86 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002901/0.3246, allocations: 1.616 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.3255, allocations: 0.5376 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.3256, allocations: 1.75 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.3259, allocations: 76.2 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3262, allocations: 107.7 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3264, allocations: 88.92 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3266, allocations: 84.97 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3267, allocations: 20.23 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.3268, allocations: 35.02 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3269, allocations: 56.69 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3269, allocations: 2.75 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.327, allocations: 44.81 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.3271, allocations: 20.17 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3271, allocations: 33.23 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3274, allocations: 113.6 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3274, allocations: 4 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3274, allocations: 0 / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3274, 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.00053/0.3279, allocations: 415.6 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.328, allocations: 9.625 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.328, allocations: 36.12 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3281, allocations: 14.34 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3283, allocations: 211.8 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3283, allocations: 1.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3283, allocations: 7.125 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3285, allocations: 57.98 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3285, allocations: 5.359 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3285, allocations: 0 / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3285, allocations: 5.312 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.3286, allocations: 23.11 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.329, allocations: 302.2 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3291, allocations: 42.84 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3292, allocations: 16.95 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3292, allocations: 1.156 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3293, allocations: 35.33 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 5.741e-06/0.3293, allocations: 0 / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008862/0.3302, allocations: 230.7 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.3302, allocations: 51.41 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.3304, allocations: 210.9 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3305, allocations: 26.83 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.3306, allocations: 113.7 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3306, allocations: 31.14 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3306, allocations: 19.38 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3308, allocations: 322.2 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.3309, allocations: 29.64 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.3309, allocations: 26.31 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3311, allocations: 69.16 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3311, allocations: 0 / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002033/0.3313, allocations: 104.1 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3313, allocations: 5.469 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3314, allocations: 0 / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3314, allocations: 1.312 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.3315, allocations: 17.89 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3315, allocations: 3.938 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.3315, allocations: 6.641 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3315, allocations: 6.438 kB / 0.5358 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 9.383e-05/0.3316, allocations: 128.5 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3317, allocations: 13.84 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.332, allocations: 115.1 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.332, allocations: 5.312 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.332, allocations: 5.312 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.332, allocations: 0 / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.3325, allocations: 414.6 kB / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3325, allocations: 0 / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.3326, allocations: 19.06 kB / 0.5364 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3326, allocations: 3.984 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3326, allocations: 1.375 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3326, allocations: 1.375 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3326, allocations: 1.375 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3329, allocations: 212.1 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3329, allocations: 91.58 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.333, allocations: 1.469 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.333, allocations: 3.969 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.3331, allocations: 6.609 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3331, allocations: 14.92 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3332, allocations: 163.5 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3332, allocations: 0 / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3335, allocations: 26.83 kB / 0.5369 GB, free: 8.004 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.002055/0.3356, allocations: 1.092 MB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3358, allocations: 67.06 kB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3358, allocations: 0 / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.3359, allocations: 33.78 kB / 0.5381 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3362, allocations: 18.22 kB / 0.5381 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3381, allocations: 1.682 MB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3384, allocations: 0.707 MB / 0.5404 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.3385, allocations: 12.19 kB / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.3385, allocations: 34.05 kB / 0.5405 GB, free: 4.906 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3385, allocations: 0 / 0.5405 GB, free: 4.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.362, allocations: 3.099 MB / 0.5435 GB, free: 3.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.141, allocations: 5.172 kB / 0.5435 GB, free: 3.207 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches