Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001552/0.001552, allocations: 121.8 kB / 17.79 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.001403/0.001403, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, 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.2188/0.2188, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002994/0.3594, allocations: 1.59 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3605, allocations: 0.5316 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3605, allocations: 4 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3608, allocations: 29.3 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.3611, allocations: 71.02 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3613, allocations: 87.19 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.3615, allocations: 66.22 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3616, allocations: 14.17 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.3617, allocations: 28.83 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.3617, allocations: 21.98 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3618, allocations: 3.062 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.3619, allocations: 40.09 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.3619, allocations: 7.812 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.362, allocations: 19.66 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3621, allocations: 91.33 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3622, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3622, allocations: 1.625 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3622, allocations: 0 / 0.5332 GB, free: 11.39 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.0005194/0.3627, allocations: 387.6 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3627, allocations: 9.094 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.3628, allocations: 36.06 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3628, allocations: 7.828 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.363, allocations: 191.7 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3631, allocations: 1.656 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3631, allocations: 2.156 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3632, allocations: 52.25 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3632, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3633, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3633, allocations: 1.469 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.3634, allocations: 20.42 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3637, allocations: 275.6 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.364, allocations: 51.86 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.364, allocations: 15.7 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3641, allocations: 0 / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3641, allocations: 36.03 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3641, allocations: 0 / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005619/0.3647, allocations: 144.6 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3647, allocations: 52.78 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3649, allocations: 160.4 kB / 0.5346 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3649, allocations: 25.7 kB / 0.5346 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.365, allocations: 94.88 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.365, allocations: 14.61 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.365, allocations: 21.83 kB / 0.5347 GB, free: 9.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3652, allocations: 325.5 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.3653, allocations: 17.61 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.3653, allocations: 22.98 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3655, allocations: 44.2 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3655, allocations: 192 / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.3657, allocations: 85.19 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3657, allocations: 9.484 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3657, allocations: 0 / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3657, allocations: 0 / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.3658, allocations: 19 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3658, allocations: 0 / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.3658, allocations: 6.734 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3659, allocations: 5.312 kB / 0.5352 GB, free: 9.375 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 9.488e-05/0.366, allocations: 115.3 kB / 0.5353 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.366, allocations: 6.703 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3662, allocations: 97.5 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3663, allocations: 5.375 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3663, allocations: 0 / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3663, allocations: 0 / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.3667, allocations: 342.5 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3667, allocations: 1.375 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.3668, allocations: 17.55 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3668, allocations: 288 / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3668, allocations: 1.375 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3668, allocations: 7.938 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3668, allocations: 1.375 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.367, allocations: 179.1 kB / 0.536 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3671, allocations: 82.69 kB / 0.5361 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3671, allocations: 5.375 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.3672, allocations: 14.67 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.3672, allocations: 10.69 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3673, allocations: 1.375 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.34e-05/0.3674, allocations: 121.4 kB / 0.5362 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3674, allocations: 0 / 0.5362 GB, free: 8.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3676, allocations: 13.56 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.001838/0.3694, allocations: 1.012 MB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.3696, allocations: 47.22 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3697, allocations: 0.8438 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3697, allocations: 27.67 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3701, allocations: 26.09 kB / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3717, allocations: 1.433 MB / 0.5387 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3721, allocations: 0.6944 MB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.3721, allocations: 9.5 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.3722, allocations: 27.48 kB / 0.5394 GB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3722, allocations: 4 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.3938, allocations: 2.527 MB / 0.5419 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.155, allocations: 4.891 kB / 0.5419 GB, free: 4.078 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches