Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.0007589/0.000759, allocations: 96.86 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.0008124/0.0008124, allocations: 174.2 kB / 16.58 MB, free: 6.031 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.452/1.452, 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.3456/0.3456, allocations: 43.54 MB / 314.6 MB, free: 8.746 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.0005056/0.0005057, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002039/0.1379, allocations: 1.306 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000613/0.1385, allocations: 327.8 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1386, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.1391, allocations: 447.2 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1395, allocations: 235.6 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1398, allocations: 135.8 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.14, allocations: 131.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1402, allocations: 28.42 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1403, allocations: 95.8 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1405, allocations: 163.7 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1405, allocations: 3.938 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.1406, allocations: 31.94 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.536e-05/0.1407, allocations: 79.73 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1408, allocations: 65.52 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.141, allocations: 195.6 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.141, allocations: 0 / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.141, allocations: 0 / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.141, allocations: 0 / 446.1 MB, free: 9.73 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.0007821/0.1418, allocations: 0.5949 MB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1419, allocations: 12.03 kB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.142, allocations: 34.55 kB / 446.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.142, allocations: 43.39 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1423, allocations: 275.4 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1424, allocations: 8 kB / 447 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1424, allocations: 4 kB / 447 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1426, allocations: 57.61 kB / 447.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1426, allocations: 0 / 447.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1426, allocations: 7.984 kB / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.1426, allocations: 0 / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1427, allocations: 43.88 kB / 447.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.1433, allocations: 404.6 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1435, allocations: 50.48 kB / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1436, allocations: 16.86 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1436, allocations: 8 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1436, allocations: 38.59 kB / 447.7 MB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1436, allocations: 0 / 447.7 MB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006126/0.1443, allocations: 244 kB / 447.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1443, allocations: 55.41 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.1451, allocations: 0.873 MB / 448.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1452, allocations: 25.7 kB / 448.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1453, allocations: 216.1 kB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1454, allocations: 23.66 kB / 449.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1454, allocations: 4 kB / 449.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1455, allocations: 362.8 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.1456, allocations: 23.98 kB / 449.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.1457, allocations: 23.98 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.1458, allocations: 27.98 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1458, allocations: 0 / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.146, allocations: 133.1 kB / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.146, allocations: 8 kB / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.146, allocations: 0 / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.146, allocations: 0 / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.1461, allocations: 19.98 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1461, allocations: 0 / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.1462, allocations: 4 kB / 449.7 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1462, allocations: 8 kB / 449.7 MB, free: 5.895 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 (5): * Single equations (assignments): 5 * 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.0001856/0.1464, allocations: 214.8 kB / 449.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1465, allocations: 47.39 kB / 449.9 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1467, allocations: 153 kB / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1468, allocations: 0 / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1468, allocations: 0 / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1468, allocations: 0 / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1473, allocations: 478.7 kB / 450.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.1473, allocations: 4.062 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1474, allocations: 23.86 kB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1474, allocations: 0 / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1474, allocations: 8 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1474, allocations: 0 / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1474, allocations: 0 / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1477, allocations: 223 kB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1478, allocations: 120.5 kB / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1478, allocations: 0 / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.1479, allocations: 7.984 kB / 450.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1479, allocations: 8 kB / 450.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1479, allocations: 0 / 450.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.1485, allocations: 0.6628 MB / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 0 / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1488, allocations: 16 kB / 451.6 MB, free: 3.852 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 (5): * Single equations (assignments): 5 * 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.001287/0.1501, allocations: 1.065 MB / 452.7 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1503, allocations: 63.95 kB / 452.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1503, allocations: 0 / 452.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.1504, allocations: 35.92 kB / 452.8 MB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1507, allocations: 26.23 kB / 452.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1535, allocations: 2.345 MB / 455.1 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2559/0.4094, allocations: 0.8203 MB / 456 MB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.4096, allocations: 15.66 kB / 456 MB, free: 45.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4098, allocations: 110.4 kB / 456.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4098, allocations: 0.6562 kB / 456.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.4269, allocations: 5.429 MB / 461.5 MB, free: 45.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.4272, allocations: 222.5 kB / 461.7 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.257, allocations: 3.938 kB / 461.7 MB, free: 45.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat