Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.001249, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247 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.2167/0.2167, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002755/0.3564, allocations: 1.594 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3581, allocations: 1.16 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.3581, allocations: 5.156 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3583, allocations: 28.31 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.3586, allocations: 81.5 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3589, allocations: 122.9 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.359, allocations: 54.12 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.3591, allocations: 20.38 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.3592, allocations: 32.95 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3593, allocations: 35.12 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3594, allocations: 4 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.3595, allocations: 94.59 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.3596, allocations: 19.56 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.3596, allocations: 21.59 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.3599, allocations: 145.9 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3599, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3599, allocations: 1.375 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3599, allocations: 0 / 0.534 GB, free: 10.79 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.000487/0.3604, allocations: 403.6 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3604, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.3605, allocations: 32.12 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3605, allocations: 7.641 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3607, allocations: 203.7 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3607, allocations: 5.688 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3608, allocations: 1.75 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3609, allocations: 73.08 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3609, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.361, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.361, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.3611, allocations: 29.66 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3614, allocations: 284.2 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3616, allocations: 48.44 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.3617, allocations: 19.8 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3617, allocations: 1.375 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3618, allocations: 35.94 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3618, allocations: 0 / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005435/0.3623, allocations: 154 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3624, allocations: 82.48 kB / 0.5353 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3625, allocations: 144.9 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3626, allocations: 25.7 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3626, allocations: 98.81 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3626, allocations: 18.59 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3627, allocations: 19.22 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3628, allocations: 324.1 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.3629, allocations: 24.36 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.363, allocations: 39.38 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3631, allocations: 52.33 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3631, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.3633, allocations: 82.62 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3634, allocations: 13.52 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3634, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3634, allocations: 1.375 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3634, allocations: 9.625 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3635, allocations: 3.938 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3635, allocations: 12.05 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3635, allocations: 1.375 kB / 0.5361 GB, free: 8.664 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.58e-05/0.3636, allocations: 114 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3637, allocations: 11.52 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3639, allocations: 100.3 kB / 0.5363 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3639, allocations: 1.219 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3639, allocations: 0 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3639, allocations: 3.938 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.3644, allocations: 359.8 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3644, allocations: 4.969 kB / 0.5367 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.3645, allocations: 25.14 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3645, allocations: 1.094 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3645, allocations: 4.969 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3645, allocations: 0 / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3645, allocations: 0.8125 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3647, allocations: 182.7 kB / 0.5369 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.3648, allocations: 90.16 kB / 0.537 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3648, allocations: 5 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.3649, allocations: 7.266 kB / 0.537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.3649, allocations: 2.844 kB / 0.537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.365, allocations: 1.344 kB / 0.537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.3651, allocations: 116.6 kB / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3651, allocations: 0 / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3653, allocations: 40.55 kB / 0.5372 GB, free: 7.695 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.002018/0.3674, allocations: 1.095 MB / 0.5382 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.3676, allocations: 58.55 kB / 0.5383 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3676, allocations: 5.062 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.3677, allocations: 24.17 kB / 0.5383 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.368, allocations: 22.14 kB / 0.5383 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3697, allocations: 1.446 MB / 0.5397 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.37, allocations: 0.6978 MB / 0.5404 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.37, allocations: 29.05 kB / 0.5405 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3701, allocations: 31.09 kB / 0.5405 GB, free: 4.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3701, allocations: 0 / 0.5405 GB, free: 4.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3946, allocations: 3.239 MB / 0.5436 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.989, allocations: 5.953 kB / 0.5437 GB, free: 2.852 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches