Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 83.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3803, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00284/0.3832, allocations: 1.651 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.3841, allocations: 0.5415 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.3842, allocations: 5.688 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3844, allocations: 44.73 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3847, allocations: 78 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.385, allocations: 100.8 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3851, allocations: 82.92 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3853, allocations: 34.62 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.3853, allocations: 27.98 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.3854, allocations: 38.64 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3854, allocations: 4.125 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.3855, allocations: 47.61 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.3856, allocations: 17.42 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.3856, allocations: 42.55 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.3858, allocations: 103.4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3858, allocations: 1.375 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3858, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3858, allocations: 0 / 0.5333 GB, free: 11.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004511/0.3863, allocations: 414.4 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3863, allocations: 9.625 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.3864, allocations: 36.12 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3864, allocations: 14.33 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3866, allocations: 199 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3866, allocations: 5.75 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3866, allocations: 4.5 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3868, allocations: 74.17 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3868, allocations: 4 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3868, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3868, allocations: 5.359 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.387, allocations: 41.95 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3874, allocations: 319.5 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3875, allocations: 62.48 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.3876, allocations: 27.66 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3876, allocations: 5 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3876, allocations: 35.61 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.3876, allocations: 3.938 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001004/0.3886, allocations: 298.6 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3887, allocations: 52.97 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3888, allocations: 163.4 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3889, allocations: 25.7 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.3889, allocations: 100.5 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.389, allocations: 45.11 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.389, allocations: 34.23 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3891, allocations: 322.1 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.3892, allocations: 39.52 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.3893, allocations: 40.16 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3895, allocations: 94.61 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3895, allocations: 0 / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000246/0.3898, allocations: 131.8 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3898, allocations: 9 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3898, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3898, allocations: 1.375 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.39, allocations: 32.55 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.39, allocations: 1.375 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.39, allocations: 6.734 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.39, allocations: 4.125 kB / 0.5358 GB, free: 9.055 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 (13): * Single equations (assignments): 13 * 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.186e-05/0.3901, allocations: 124.7 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3902, allocations: 13.34 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.3905, allocations: 159 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3905, allocations: 1.375 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3905, allocations: 5.312 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3906, allocations: 3.984 kB / 0.5361 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.3911, allocations: 467.9 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3912, allocations: 0.9688 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.3912, allocations: 24.52 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3913, allocations: 1 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3913, allocations: 6.281 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3913, allocations: 1.094 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3913, allocations: 1.031 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3916, allocations: 248.6 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.3916, allocations: 84.23 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3917, allocations: 1.094 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3918, allocations: 12.88 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3918, allocations: 7.984 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3918, allocations: 3.562 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.3919, allocations: 135.7 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3919, allocations: 0 / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3922, allocations: 29.8 kB / 0.5371 GB, free: 7.961 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 (13): * Single equations (assignments): 13 * 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.001454/0.3936, allocations: 1.11 MB / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.3939, allocations: 96.94 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3939, allocations: 4 kB / 0.5383 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3941, allocations: 57.14 kB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3945, allocations: 29.83 kB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3963, allocations: 1.673 MB / 0.54 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3965, allocations: 0.7102 MB / 0.5407 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.3966, allocations: 15.2 kB / 0.5407 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3967, allocations: 40.05 kB / 0.5407 GB, free: 4.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3967, allocations: 1.375 kB / 0.5407 GB, free: 4.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.418, allocations: 3.204 MB / 0.5439 GB, free: 3.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.968, allocations: 9.938 kB / 0.5439 GB, free: 3.047 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches