Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3816, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003076/0.3847, allocations: 1.683 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3858, allocations: 0.5821 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.3859, allocations: 0 / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3862, allocations: 45.44 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.3866, allocations: 93.89 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3871, allocations: 178.2 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3873, allocations: 87.55 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3874, allocations: 23.22 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.3875, allocations: 46.77 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3876, allocations: 36.44 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3877, allocations: 4.375 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3878, allocations: 52.03 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3879, allocations: 24.86 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.3879, allocations: 34.98 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3882, allocations: 117.4 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.3882, allocations: 4 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3882, allocations: 9.062 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3882, allocations: 0 / 0.5335 GB, free: 11.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006985/0.3889, allocations: 412.3 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.389, allocations: 9.531 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.389, allocations: 35.89 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.3891, allocations: 14.22 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.3894, allocations: 208.3 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.3894, allocations: 5.406 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3894, allocations: 3.781 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3897, allocations: 76.44 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3897, allocations: 1.312 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3897, allocations: 0 / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3897, allocations: 1.594 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.39, allocations: 40.5 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3905, allocations: 329 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3908, allocations: 60.36 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.3909, allocations: 26.09 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3909, allocations: 5.062 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.391, allocations: 35.66 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.391, allocations: 0 / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00168/0.3927, allocations: 429.4 kB / 0.5351 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3927, allocations: 52.78 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3929, allocations: 187.9 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.393, allocations: 25.7 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.393, allocations: 109.5 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3931, allocations: 36.97 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3931, allocations: 25.95 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3933, allocations: 321.6 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.3935, allocations: 56.83 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3936, allocations: 57.55 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3939, allocations: 127.7 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3939, allocations: 0 / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.3942, allocations: 161.7 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3942, allocations: 9.281 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3942, allocations: 0 / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3943, allocations: 3.938 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3944, allocations: 32.44 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3944, allocations: 1.344 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.3945, allocations: 9.672 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3945, allocations: 3.281 kB / 0.5363 GB, free: 8.812 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 (11): * Single equations (assignments): 11 * 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.0001136/0.3946, allocations: 131.9 kB / 0.5364 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3947, allocations: 21.44 kB / 0.5364 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.3952, allocations: 190.1 kB / 0.5366 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3952, allocations: 5.094 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3952, allocations: 0.5625 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3952, allocations: 1.156 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.396, allocations: 0.5014 MB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.396, allocations: 0 / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3961, allocations: 33.25 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3961, allocations: 1.125 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3961, allocations: 2.062 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3962, allocations: 4.938 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3962, allocations: 5.062 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.3966, allocations: 281.2 kB / 0.5374 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3966, allocations: 84.98 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3967, allocations: 5.969 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3968, allocations: 17.47 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.3968, allocations: 8.734 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3969, allocations: 3.5 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.397, allocations: 153.5 kB / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.397, allocations: 0 / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3973, allocations: 22.28 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001788/0.3991, allocations: 1.151 MB / 0.5388 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.3995, allocations: 128.4 kB / 0.5389 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3995, allocations: 1.188 kB / 0.5389 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.3996, allocations: 74.64 kB / 0.539 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.4001, allocations: 24.39 kB / 0.539 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4026, allocations: 1.907 MB / 0.5409 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.403, allocations: 0.7182 MB / 0.5416 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4031, allocations: 36.02 kB / 0.5416 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.4032, allocations: 35.83 kB / 0.5417 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4032, allocations: 0 / 0.5417 GB, free: 4.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.4262, allocations: 3.475 MB / 0.545 GB, free: 2.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.099, allocations: 9.141 kB / 0.5451 GB, free: 2.395 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches