Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008771/0.0008771, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08801, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001602/0.08965, allocations: 1.338 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.09051, allocations: 0.5301 MB / 485 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.09057, allocations: 4 kB / 485.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.0908, allocations: 91.8 kB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.09102, allocations: 99.7 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.09128, allocations: 99.56 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.09141, allocations: 75.88 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.0915, allocations: 19.98 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.09156, allocations: 35.78 kB / 485.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.09165, allocations: 55.81 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.09167, allocations: 4 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.09176, allocations: 35.98 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.09181, allocations: 23.92 kB / 485.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.09186, allocations: 65.38 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.09202, allocations: 104 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.09203, allocations: 0 / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09204, allocations: 0 / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.09204, allocations: 0 / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003853/0.09244, allocations: 410.9 kB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.09247, allocations: 12.81 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.09251, allocations: 34.75 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.09255, allocations: 12.84 kB / 486.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.09271, allocations: 200.5 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.09273, allocations: 8.312 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.09275, allocations: 4.375 kB / 486.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.09288, allocations: 61.59 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.0929, allocations: 0 / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09291, allocations: 0 / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.09292, allocations: 7.938 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.09303, allocations: 35.97 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.09339, allocations: 300.7 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.0935, allocations: 54.48 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.09357, allocations: 24.94 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.09359, allocations: 4 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.09362, allocations: 30.56 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.09362, allocations: 0 / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008939/0.09452, allocations: 277.1 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.09456, allocations: 55.41 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.09476, allocations: 230.6 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.09479, allocations: 29.7 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.09485, allocations: 104.1 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.09488, allocations: 31.62 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.09491, allocations: 17.7 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.09501, allocations: 330.8 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.09511, allocations: 35.98 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.0952, allocations: 35.97 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.09538, allocations: 84.77 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.09539, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000229/0.09562, allocations: 117.5 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.09565, allocations: 4 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.09566, allocations: 3.938 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.09567, allocations: 0 / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.09578, allocations: 23.98 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.09579, allocations: 3.938 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.09585, allocations: 12 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.09586, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.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 8.273e-05/0.09595, allocations: 129.8 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.09599, allocations: 19.81 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.09629, allocations: 147.3 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0963, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.09631, allocations: 3.938 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.09632, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.09682, allocations: 435.3 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.09684, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.09692, allocations: 31.86 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.09694, allocations: 3.938 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.09695, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.09696, allocations: 4.031 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09696, allocations: 4 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.09723, allocations: 220.2 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.09729, allocations: 96.86 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.09731, allocations: 4 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.09739, allocations: 7.984 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.09743, allocations: 4 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.09744, allocations: 7.984 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.09758, allocations: 180.2 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09759, allocations: 0 / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.09785, allocations: 20 kB / 489.6 MB, free: 13.3 MB / 366.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 (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.001352/0.09921, allocations: 1.098 MB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.09944, allocations: 87.89 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09945, allocations: 0 / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.09956, allocations: 51.89 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.09988, allocations: 16.3 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1017, allocations: 1.805 MB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1019, allocations: 0.7101 MB / 493.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.102, allocations: 20.66 kB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.102, allocations: 39.42 kB / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.102, allocations: 0 / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.1137, allocations: 2.803 MB / 496.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1139, allocations: 236.5 kB / 496.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/1.918, allocations: 0 / 496.4 MB, free: 6.555 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches