Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.001361, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, 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.2177/0.2177, allocations: 46.12 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 75.88 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3372, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003826/0.3411, allocations: 1.686 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3422, allocations: 0.5508 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.3422, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3425, allocations: 56.33 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.3428, allocations: 87.28 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3432, allocations: 134.8 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3433, allocations: 80.81 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3435, allocations: 21.84 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.3435, allocations: 32.23 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3436, allocations: 45.64 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3437, allocations: 4.125 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3438, allocations: 48.48 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.3438, allocations: 27.31 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.3439, allocations: 34.36 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3441, allocations: 109.5 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3441, allocations: 0 / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3441, allocations: 4 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3441, allocations: 0 / 0.5335 GB, free: 11.19 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006001/0.3447, allocations: 430.9 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3448, allocations: 10.56 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3448, allocations: 36.27 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3449, allocations: 8.891 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3451, allocations: 199 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3451, allocations: 7 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3452, allocations: 10.45 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3453, allocations: 67.64 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3454, allocations: 0 / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3454, allocations: 1.031 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3454, allocations: 1.094 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3455, allocations: 42.14 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.346, allocations: 306.5 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.3462, allocations: 54.95 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.3463, allocations: 28.52 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3463, allocations: 5.062 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3464, allocations: 31.75 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.196e-06/0.3464, allocations: 4 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3478, allocations: 405.5 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3479, allocations: 52.78 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3481, allocations: 190.3 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3481, allocations: 27.08 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.3482, allocations: 104.3 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.3483, allocations: 45.11 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3483, allocations: 24.58 kB / 0.5355 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3485, allocations: 327 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3486, allocations: 39.34 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3487, allocations: 43.34 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.349, allocations: 100.5 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.349, allocations: 0 / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003223/0.3493, allocations: 150.6 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3493, allocations: 4.344 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3494, allocations: 5.109 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3494, allocations: 7.938 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3495, allocations: 29.34 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3495, allocations: 0 / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.3496, allocations: 6.312 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3496, allocations: 7.516 kB / 0.5362 GB, free: 8.832 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 (11): * Single equations (assignments): 11 * 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.0001068/0.3497, allocations: 121.5 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3497, allocations: 14.09 kB / 0.5363 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.3501, allocations: 169.6 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3502, allocations: 5.438 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3502, allocations: 0 / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3502, allocations: 1 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.3509, allocations: 471.5 kB / 0.5369 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3509, allocations: 1.188 kB / 0.5369 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.351, allocations: 27.5 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.351, allocations: 2.094 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.351, allocations: 6.125 kB / 0.537 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.351, allocations: 1.062 kB / 0.537 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.351, allocations: 1.062 kB / 0.537 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.3514, allocations: 258.6 kB / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3515, allocations: 88.97 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3515, allocations: 6.531 kB / 0.5373 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3516, allocations: 18.73 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.3517, allocations: 16.05 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3517, allocations: 3.969 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3518, allocations: 139.5 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3518, allocations: 0 / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3521, allocations: 25.78 kB / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002219/0.3543, allocations: 1.133 MB / 0.5386 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3547, allocations: 108.7 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3547, allocations: 1.219 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3548, allocations: 58.56 kB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3552, allocations: 23.52 kB / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3575, allocations: 1.8 MB / 0.5405 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3579, allocations: 0.7117 MB / 0.5412 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.358, allocations: 21.94 kB / 0.5413 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.358, allocations: 34.92 kB / 0.5413 GB, free: 4.469 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.358, allocations: 1.094 kB / 0.5413 GB, free: 4.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3817, allocations: 3.313 MB / 0.5445 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.126, allocations: 16.58 kB / 0.5445 GB, free: 2.648 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches