Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001104, allocations: 118.8 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.001283/0.001283, allocations: 202 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.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3479, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00312/0.3511, allocations: 1.594 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3521, allocations: 0.5272 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.3522, allocations: 4.969 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3524, allocations: 21.36 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3528, allocations: 84.89 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3531, allocations: 86.31 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3532, allocations: 69.44 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.3533, allocations: 10.97 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.3534, allocations: 23.61 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.3535, allocations: 22.83 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3535, allocations: 6.812 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.3536, allocations: 31.62 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.3536, allocations: 13.16 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3537, allocations: 24.48 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3539, allocations: 90.25 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3539, allocations: 1.688 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3539, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3539, allocations: 0 / 0.5331 GB, free: 11.44 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.0004615/0.3544, allocations: 381.9 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3544, allocations: 9.094 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3544, allocations: 38.69 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.3545, allocations: 8.5 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3547, allocations: 197.6 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3547, allocations: 2.438 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3547, allocations: 10.22 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3549, allocations: 51.2 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3549, allocations: 0 / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3549, allocations: 5.734 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3549, allocations: 0 / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.355, allocations: 24.89 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.3553, allocations: 271.5 kB / 0.534 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3555, allocations: 48.53 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.3556, allocations: 14.66 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3556, allocations: 1.312 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3557, allocations: 36 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3557, allocations: 0 / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005309/0.3562, allocations: 153.7 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3562, allocations: 51.41 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3564, allocations: 163 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3564, allocations: 31.08 kB / 0.5345 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.3565, allocations: 96.25 kB / 0.5346 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3565, allocations: 13.19 kB / 0.5346 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3565, allocations: 21.83 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3566, allocations: 317.6 kB / 0.5349 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.3567, allocations: 14.98 kB / 0.5349 GB, free: 9.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.3568, allocations: 18.98 kB / 0.535 GB, free: 9.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3569, allocations: 54.95 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3569, allocations: 5.375 kB / 0.535 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001672/0.3571, allocations: 75.83 kB / 0.5351 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3571, allocations: 9.484 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3571, allocations: 0 / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3571, allocations: 1.375 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.3572, allocations: 9.625 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3572, allocations: 3.938 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.3573, allocations: 12.11 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3573, allocations: 5.375 kB / 0.5351 GB, free: 9.414 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 8.394e-05/0.3574, allocations: 119.3 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.3574, allocations: 11.97 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3576, allocations: 93.56 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3576, allocations: 1.375 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3577, allocations: 7.938 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3577, allocations: 0 / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3581, allocations: 351.7 kB / 0.5357 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3581, allocations: 0 / 0.5357 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.3581, allocations: 13.61 kB / 0.5357 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3582, allocations: 5.312 kB / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3582, allocations: 0 / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3582, allocations: 1.375 kB / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3582, allocations: 0 / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.3584, allocations: 180.7 kB / 0.5359 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.3584, allocations: 86.39 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3585, allocations: 9.312 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.3585, allocations: 10.67 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3586, allocations: 2.75 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3586, allocations: 1.375 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.3587, allocations: 130.3 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3587, allocations: 1.375 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3589, allocations: 13.62 kB / 0.5361 GB, free: 8.465 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.00125/0.3602, allocations: 1.011 MB / 0.5371 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.3604, allocations: 52.41 kB / 0.5372 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3604, allocations: 0 / 0.5372 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.3605, allocations: 23.55 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3608, allocations: 24.62 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3624, allocations: 1.46 MB / 0.5386 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3626, allocations: 0.6999 MB / 0.5393 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.225e-05/0.3627, allocations: 9.062 kB / 0.5393 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3627, allocations: 24.77 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3627, allocations: 0 / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.3802, allocations: 2.6 MB / 0.5419 GB, free: 4.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.324, allocations: 2.453 kB / 0.5419 GB, free: 4.07 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches