Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 177.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3182/0.3182, allocations: 43.54 MB / 314.6 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 20 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002028/0.1093, allocations: 1.314 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.1099, allocations: 315.8 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.11, allocations: 0 / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.1105, allocations: 443.2 kB / 444.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.1109, allocations: 231.6 kB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1112, allocations: 103.8 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1115, allocations: 131.7 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.1116, allocations: 16.17 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1117, allocations: 95.8 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.112, allocations: 175.6 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.112, allocations: 4 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.1121, allocations: 31.92 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1122, allocations: 75.75 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1123, allocations: 73.45 kB / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1125, allocations: 184 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1125, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1125, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1125, allocations: 0 / 446 MB, free: 9.793 MB / 382.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.0007084/0.1132, allocations: 0.6027 MB / 446.6 MB, free: 9.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1133, allocations: 12.03 kB / 446.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1133, allocations: 34.55 kB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.1134, allocations: 43.39 kB / 446.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1137, allocations: 271.4 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1137, allocations: 4 kB / 447 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1137, allocations: 4 kB / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1139, allocations: 69.59 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1139, allocations: 7.938 kB / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1139, allocations: 0 / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1139, allocations: 0 / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1141, allocations: 43.92 kB / 447.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1146, allocations: 388.7 kB / 447.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1147, allocations: 54.48 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.1148, allocations: 28.94 kB / 447.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1148, allocations: 3.938 kB / 447.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1148, allocations: 38.52 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1148, allocations: 0 / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008118/0.1157, allocations: 319.9 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1157, allocations: 51.41 kB / 448 MB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.1165, allocations: 0.8574 MB / 448.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1165, allocations: 25.7 kB / 448.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1167, allocations: 212.2 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1167, allocations: 35.53 kB / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.1167, allocations: 0 / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1169, allocations: 362.8 kB / 449.5 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.117, allocations: 35.97 kB / 449.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.1171, allocations: 43.97 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1172, allocations: 43.97 kB / 449.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1172, allocations: 3.938 kB / 449.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002866/0.1175, allocations: 153.1 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1176, allocations: 4 kB / 449.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1176, allocations: 3.984 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1176, allocations: 4 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1177, allocations: 23.98 kB / 449.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1177, allocations: 0 / 449.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.1178, allocations: 19.98 kB / 449.8 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1178, allocations: 0 / 449.8 MB, free: 5.805 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.118, allocations: 213.8 kB / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.1181, allocations: 51.39 kB / 450 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1184, allocations: 189.3 kB / 450.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1184, allocations: 4 kB / 450.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1184, allocations: 0 / 450.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1184, allocations: 4.281 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.119, allocations: 0.4988 MB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1191, allocations: 0 / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.1191, allocations: 27.97 kB / 450.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1192, allocations: 0 / 450.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1192, allocations: 3.984 kB / 450.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1192, allocations: 4.078 kB / 450.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1192, allocations: 11.86 kB / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1195, allocations: 254.9 kB / 451 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1196, allocations: 124.5 kB / 451.2 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1196, allocations: 4 kB / 451.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.1197, allocations: 15.94 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1198, allocations: 3.984 kB / 451.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1198, allocations: 4 kB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006063/0.1204, allocations: 0.6511 MB / 451.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1204, allocations: 0 / 451.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1207, allocations: 28 kB / 451.9 MB, free: 3.625 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.122, allocations: 1.093 MB / 452.9 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1223, allocations: 95.88 kB / 453 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1223, allocations: 0 / 453 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1224, allocations: 47.97 kB / 453.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1228, allocations: 25.95 kB / 453.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2191/0.3419, allocations: 2.374 MB / 455.5 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3424, allocations: 0.8177 MB / 456.3 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.894e-05/0.3425, allocations: 12.92 kB / 456.3 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.3427, allocations: 103.3 kB / 456.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3428, allocations: 0 / 456.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.3604, allocations: 5.456 MB / 461.9 MB, free: 43.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.3606, allocations: 221.9 kB / 462.1 MB, free: 43.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.267, allocations: 3.938 kB / 462.1 MB, free: 43.72 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat