Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001239/0.001239, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 200.7 kB / 18.73 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.343/1.343, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 83.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.314, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002803/0.3168, allocations: 1.596 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.3178, allocations: 0.5464 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.3178, allocations: 3.594 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.318, allocations: 23.31 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.3183, allocations: 74.38 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3186, allocations: 109.4 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3188, allocations: 67.33 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.3189, allocations: 14.88 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.3189, allocations: 28.09 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.319, allocations: 22.73 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.319, allocations: 2.75 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.3191, allocations: 32.61 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3191, allocations: 16.05 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3192, allocations: 16 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3193, allocations: 87.16 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3193, allocations: 4 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3194, allocations: 1.438 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3194, allocations: 0 / 0.5332 GB, free: 11.37 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.0004754/0.3198, allocations: 387.9 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3199, allocations: 9.406 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.3199, allocations: 32.06 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.32, allocations: 7.797 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3202, allocations: 193.1 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3202, allocations: 2.094 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3202, allocations: 9.5 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3204, allocations: 57.53 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3204, allocations: 0 / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.3204, allocations: 0 / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3204, allocations: 1 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.3205, allocations: 25.53 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3209, allocations: 280.2 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3211, allocations: 57.5 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3212, allocations: 14.89 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3212, allocations: 1.281 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3212, allocations: 31.88 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.936e-06/0.3212, allocations: 0 / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005544/0.3218, allocations: 163.1 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3218, allocations: 51.41 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.322, allocations: 158.6 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.322, allocations: 25.7 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.3221, allocations: 95.75 kB / 0.5347 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3221, allocations: 18.27 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.3222, allocations: 17.34 kB / 0.5348 GB, free: 9.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3223, allocations: 325.1 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.3224, allocations: 20.23 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.3224, allocations: 20.23 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3226, allocations: 55.66 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3226, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.3228, allocations: 91.5 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3228, allocations: 5.406 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3228, allocations: 0 / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3228, allocations: 1.375 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.3229, allocations: 12.73 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3229, allocations: 1.25 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.323, allocations: 6.672 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.323, allocations: 6.5 kB / 0.5353 GB, free: 9.332 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.243e-05/0.3231, allocations: 117.8 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3231, allocations: 7.734 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3234, allocations: 100.5 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3234, allocations: 1.312 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3234, allocations: 0 / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3234, allocations: 1.312 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3238, allocations: 359.6 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3238, allocations: 64 / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.3239, allocations: 25.55 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3239, allocations: 0 / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3239, allocations: 5.312 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3239, allocations: 5.312 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3239, allocations: 0 / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3242, allocations: 181.8 kB / 0.5361 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3242, allocations: 83.81 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3243, allocations: 3.938 kB / 0.5362 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3243, allocations: 12.05 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3244, allocations: 5.375 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3244, allocations: 1.375 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.3245, allocations: 117.4 kB / 0.5363 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3245, allocations: 0 / 0.5363 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3247, allocations: 18.94 kB / 0.5363 GB, free: 8.379 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.001787/0.3265, allocations: 1.012 MB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3267, allocations: 50.2 kB / 0.5373 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3267, allocations: 4 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.3268, allocations: 33.33 kB / 0.5374 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3271, allocations: 21.61 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3287, allocations: 1.461 MB / 0.5388 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3291, allocations: 0.7054 MB / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.3291, allocations: 16.83 kB / 0.5395 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3292, allocations: 20.16 kB / 0.5395 GB, free: 5.438 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3292, allocations: 0 / 0.5395 GB, free: 5.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3513, allocations: 2.575 MB / 0.5421 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.011, allocations: 2.469 kB / 0.5421 GB, free: 3.973 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches