Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 122.5 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2483/0.2483, allocations: 46.11 MB / 344.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 87.84 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003159/0.3509, allocations: 1.597 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.352, allocations: 0.5307 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3521, allocations: 1.281 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.3524, allocations: 35.41 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.3527, allocations: 72.39 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.353, allocations: 94.14 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3531, allocations: 62.7 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3533, allocations: 13.66 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.3533, allocations: 24.58 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.3534, allocations: 25.69 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3534, allocations: 3.594 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.3535, allocations: 28.66 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.3536, allocations: 17.7 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.3536, allocations: 24.44 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3539, allocations: 88.39 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3539, allocations: 0 / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3539, allocations: 9.75 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3539, allocations: 0 / 0.5332 GB, free: 11.36 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.0006076/0.3545, allocations: 393.9 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3546, allocations: 9.094 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.3546, allocations: 31.75 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.3547, allocations: 13.06 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3549, allocations: 201.6 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.355, allocations: 5.594 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.355, allocations: 5.5 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3552, allocations: 60.05 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3552, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3552, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3552, allocations: 1.469 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3553, allocations: 20.23 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.3558, allocations: 273.4 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3561, allocations: 47.34 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.3561, allocations: 24.08 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3562, allocations: 0 / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3562, allocations: 31.75 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3562, allocations: 0 / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005886/0.3568, allocations: 146.9 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3568, allocations: 51.41 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3571, allocations: 186.9 kB / 0.5346 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3571, allocations: 31.08 kB / 0.5347 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.3571, allocations: 92.27 kB / 0.5347 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3572, allocations: 21.2 kB / 0.5348 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3572, allocations: 17.84 kB / 0.5348 GB, free: 9.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3574, allocations: 325.6 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.3575, allocations: 14.98 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.3575, allocations: 18.98 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3577, allocations: 52.39 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3577, allocations: 3.938 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.3579, allocations: 81.2 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3579, allocations: 9.5 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3579, allocations: 0 / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3579, allocations: 0 / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.358, allocations: 13.61 kB / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.358, allocations: 5.312 kB / 0.5353 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.3581, allocations: 2.75 kB / 0.5353 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3581, allocations: 9.359 kB / 0.5353 GB, free: 9.305 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 9.942e-05/0.3582, allocations: 116.7 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3582, allocations: 8.078 kB / 0.5354 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3585, allocations: 94.91 kB / 0.5355 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3585, allocations: 0 / 0.5355 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3585, allocations: 5.312 kB / 0.5355 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3585, allocations: 3.984 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.3589, allocations: 343.9 kB / 0.5358 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.359, allocations: 1.375 kB / 0.5358 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.359, allocations: 17.61 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.359, allocations: 3.938 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.359, allocations: 5.312 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3591, allocations: 0 / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3591, allocations: 0 / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3593, allocations: 184.7 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.3594, allocations: 87.77 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3594, allocations: 9.312 kB / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.3595, allocations: 6.734 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3596, allocations: 1.375 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3596, allocations: 1.375 kB / 0.5361 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3597, allocations: 136.5 kB / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.3597, allocations: 5.281 kB / 0.5363 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3599, allocations: 26.39 kB / 0.5363 GB, free: 8.352 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.002/0.362, allocations: 1.002 MB / 0.5373 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3622, allocations: 47.31 kB / 0.5373 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3622, allocations: 1.094 kB / 0.5373 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.3623, allocations: 31.19 kB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3626, allocations: 14.7 kB / 0.5374 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3644, allocations: 1.49 MB / 0.5388 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3648, allocations: 0.7004 MB / 0.5395 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3648, allocations: 10 kB / 0.5395 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.3649, allocations: 22.95 kB / 0.5395 GB, free: 5.426 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3649, allocations: 4.875 kB / 0.5396 GB, free: 5.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3864, allocations: 2.657 MB / 0.5421 GB, free: 3.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.925, allocations: 13.12 kB / 0.5422 GB, free: 3.914 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches