Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001126, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 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.2294/0.2294, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3962, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003435/0.3997, allocations: 1.625 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.4016, allocations: 1.153 MB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.4017, allocations: 1.375 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.402, allocations: 27.91 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.4023, allocations: 86.78 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.4027, allocations: 87.09 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.4029, allocations: 82.36 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.403, allocations: 21.28 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.4031, allocations: 26.64 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0098/0.4129, allocations: 35.42 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.413, allocations: 8.094 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.4134, allocations: 109 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.4135, allocations: 11.66 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.4136, allocations: 34.33 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.414, allocations: 150.7 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.414, allocations: 1.469 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.414, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.414, allocations: 0 / 0.5339 GB, free: 10.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000623/0.4146, allocations: 406.9 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4147, allocations: 13.53 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.4148, allocations: 35.97 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.4148, allocations: 8.469 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.415, allocations: 198.4 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4151, allocations: 1.812 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4151, allocations: 11.47 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.4153, allocations: 77.22 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4153, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4153, allocations: 5.594 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4154, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.4155, allocations: 34.5 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.4159, allocations: 291.2 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.416, allocations: 55.17 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.4161, allocations: 18.14 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.4161, allocations: 5.312 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4162, allocations: 34.55 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4162, allocations: 1.281 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006932/0.4169, allocations: 177.3 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4169, allocations: 82.47 kB / 0.5353 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4171, allocations: 163.4 kB / 0.5354 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4171, allocations: 29.7 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.4172, allocations: 96.25 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4172, allocations: 26.31 kB / 0.5356 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.4173, allocations: 24.58 kB / 0.5356 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4174, allocations: 317.6 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.4175, allocations: 29.66 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.4176, allocations: 42.2 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4177, allocations: 56.45 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4177, allocations: 0 / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000213/0.4179, allocations: 111 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.418, allocations: 5.5 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.418, allocations: 3.938 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.418, allocations: 5.406 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4181, allocations: 21.67 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4181, allocations: 5.688 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.4182, allocations: 2.75 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4182, allocations: 6.75 kB / 0.5362 GB, free: 8.609 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 (8): * Single equations (assignments): 8 * 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.0001077/0.4183, allocations: 118 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.4184, allocations: 12.03 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.4187, allocations: 114.4 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4187, allocations: 1.375 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4187, allocations: 7.875 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4187, allocations: 1.375 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.4193, allocations: 383.6 kB / 0.5368 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4193, allocations: 0 / 0.5368 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.4194, allocations: 18.27 kB / 0.5368 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4194, allocations: 7.875 kB / 0.5368 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4194, allocations: 5.438 kB / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4194, allocations: 1.281 kB / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4194, allocations: 0 / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.4197, allocations: 195.1 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.4198, allocations: 86.33 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4198, allocations: 5.078 kB / 0.5371 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.4199, allocations: 7.469 kB / 0.5371 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.4199, allocations: 11.36 kB / 0.5371 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.42, allocations: 6.547 kB / 0.5371 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4201, allocations: 115 kB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4201, allocations: 0 / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.4204, allocations: 42.3 kB / 0.5373 GB, free: 7.617 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 (8): * Single equations (assignments): 8 * 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.001606/0.422, allocations: 1.126 MB / 0.5384 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.4223, allocations: 62.7 kB / 0.5384 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4223, allocations: 1.156 kB / 0.5384 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.4224, allocations: 40.94 kB / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.4228, allocations: 16.08 kB / 0.5385 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.4247, allocations: 1.512 MB / 0.54 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.425, allocations: 0.6967 MB / 0.5407 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.4251, allocations: 17.38 kB / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.4252, allocations: 31.42 kB / 0.5407 GB, free: 4.594 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4252, allocations: 0 / 0.5407 GB, free: 4.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.4495, allocations: 3.427 MB / 0.544 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.272, allocations: 5.188 kB / 0.5441 GB, free: 2.637 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches