Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 201.2 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.389/1.389, 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.2143/0.2143, allocations: 46.11 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 83.8 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.346, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003153/0.3492, allocations: 1.652 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3503, allocations: 0.5534 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.3503, allocations: 0.9688 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.3506, allocations: 102.2 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.351, allocations: 111.3 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3513, allocations: 119.5 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3515, allocations: 100.2 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3516, allocations: 29.61 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.3517, allocations: 45.25 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3518, allocations: 62.08 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3518, allocations: 5.938 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3519, allocations: 47.17 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.352, allocations: 33.09 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3521, allocations: 39.94 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3523, allocations: 136.5 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3523, allocations: 0 / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3523, allocations: 0 / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3523, allocations: 3.938 kB / 0.5336 GB, free: 11.14 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005476/0.3529, allocations: 447.6 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3529, allocations: 9.625 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.353, allocations: 36.12 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.353, allocations: 15.72 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3532, allocations: 205.9 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3533, allocations: 7.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3533, allocations: 8.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3535, allocations: 79.53 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3535, allocations: 9.312 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3535, allocations: 0 / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3535, allocations: 1.375 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3536, allocations: 44.7 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.3541, allocations: 351.4 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3543, allocations: 64.8 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.3544, allocations: 24 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3544, allocations: 5.359 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3544, allocations: 31.94 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3544, allocations: 0 / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001079/0.3555, allocations: 343.2 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3556, allocations: 52.53 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3559, allocations: 234.5 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3559, allocations: 34.8 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.356, allocations: 110.8 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.356, allocations: 53.22 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3561, allocations: 26.67 kB / 0.5357 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3563, allocations: 328.5 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3564, allocations: 46.75 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3565, allocations: 48.34 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3567, allocations: 111.4 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3568, allocations: 4 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002947/0.3571, allocations: 160 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3571, allocations: 5.5 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3571, allocations: 3.938 kB / 0.5364 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3571, allocations: 0 / 0.5364 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3572, allocations: 25.89 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3573, allocations: 0 / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.3573, allocations: 11.59 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3573, allocations: 7.891 kB / 0.5364 GB, free: 8.699 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 0.0001258/0.3575, allocations: 136 kB / 0.5365 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.3575, allocations: 14.25 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3579, allocations: 188.7 kB / 0.5367 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3579, allocations: 6.438 kB / 0.5367 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3579, allocations: 4 kB / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.358, allocations: 0 / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.3586, allocations: 0.4968 MB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3587, allocations: 1.469 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.526e-05/0.3588, allocations: 32 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3588, allocations: 1.281 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3588, allocations: 2.438 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3588, allocations: 5.469 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3588, allocations: 0 / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3591, allocations: 258.3 kB / 0.5375 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.3592, allocations: 88.42 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3592, allocations: 6.109 kB / 0.5376 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.3593, allocations: 11.38 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3594, allocations: 8.484 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3594, allocations: 4.438 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3596, allocations: 182.9 kB / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3596, allocations: 0 / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3598, allocations: 27.12 kB / 0.5378 GB, free: 7.535 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.002194/0.362, allocations: 1.144 MB / 0.539 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3623, allocations: 105.8 kB / 0.5391 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3623, allocations: 0 / 0.5391 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3625, allocations: 63.78 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3628, allocations: 22.72 kB / 0.5391 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3653, allocations: 1.921 MB / 0.541 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3657, allocations: 0.7197 MB / 0.5417 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.373e-05/0.3658, allocations: 33.45 kB / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3659, allocations: 43.77 kB / 0.5418 GB, free: 4.242 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3659, allocations: 0 / 0.5418 GB, free: 4.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.39, allocations: 3.605 MB / 0.5453 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.143, allocations: 12.41 kB / 0.5453 GB, free: 2.301 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches