Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",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.001033/0.001033, allocations: 88.19 kB / 15.7 MB, free: 460 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.00107/0.00107, allocations: 173.3 kB / 16.58 MB, free: 6.84 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.544/1.544, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3706/0.3706, allocations: 43.55 MB / 314.6 MB, free: 8.758 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.0005496/0.0005501, allocations: 24 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001924/0.1224, allocations: 1.26 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006254/0.1231, allocations: 291.9 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.1232, allocations: 4 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.1234, allocations: 23.91 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1236, allocations: 31.86 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1239, allocations: 83.88 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1241, allocations: 47.84 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.1242, allocations: 8.266 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.1242, allocations: 35.78 kB / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.1243, allocations: 11.94 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1243, allocations: 0 / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.1244, allocations: 27.98 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.1245, allocations: 15.92 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1245, allocations: 33.64 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1247, allocations: 59.84 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1247, allocations: 0 / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1247, allocations: 3.938 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.716e-06/0.1247, allocations: 0 / 444.8 MB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004655/0.1252, allocations: 387 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1252, allocations: 12.03 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.1253, allocations: 30.56 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1253, allocations: 11.86 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1255, allocations: 186.9 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1256, allocations: 0 / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1256, allocations: 7.984 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1257, allocations: 53.62 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1257, allocations: 4 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1258, allocations: 7.891 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1258, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.1259, allocations: 31.97 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1263, allocations: 273 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1265, allocations: 50.5 kB / 445.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1266, allocations: 24.89 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1266, allocations: 4 kB / 445.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1266, allocations: 30.56 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1266, allocations: 0 / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005319/0.1272, allocations: 169.3 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1272, allocations: 55.41 kB / 446.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1274, allocations: 165.8 kB / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1274, allocations: 25.7 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1275, allocations: 100 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1275, allocations: 19.73 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1275, allocations: 4 kB / 446.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1276, allocations: 318.8 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.1277, allocations: 27.98 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.1277, allocations: 23.98 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.1278, allocations: 32.12 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1278, allocations: 0 / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001844/0.128, allocations: 105.5 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.128, allocations: 4 kB / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1281, allocations: 0 / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1281, allocations: 0 / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.1281, allocations: 15.98 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1281, allocations: 0 / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.1282, allocations: 4 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1282, allocations: 11.98 kB / 447 MB, free: 8.641 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 9.861e-05/0.1283, allocations: 125.8 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1283, allocations: 7.906 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.1286, allocations: 109.8 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1286, allocations: 4 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1286, allocations: 0 / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1286, allocations: 3.984 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1291, allocations: 362.5 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1291, allocations: 0 / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1291, allocations: 23.92 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1292, allocations: 4 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1292, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1292, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1292, allocations: 0 / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1294, allocations: 199.6 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.1295, allocations: 81.02 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1295, allocations: 7.984 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.1296, allocations: 8 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1297, allocations: 3.984 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1297, allocations: 4.281 kB / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1298, allocations: 126.5 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1298, allocations: 0 / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.13, allocations: 20 kB / 448 MB, free: 7.469 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.001425/0.1315, allocations: 1.024 MB / 449 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1317, allocations: 55.97 kB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1317, allocations: 3.938 kB / 449.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.1318, allocations: 31.92 kB / 449.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1321, allocations: 19.98 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1332, allocations: 0.6205 MB / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1335, allocations: 0.7004 MB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.1336, allocations: 15.98 kB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1336, allocations: 23.42 kB / 450.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1336, allocations: 0 / 450.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.1463, allocations: 2.156 MB / 452.7 MB, free: 2.758 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005334/0.1469, allocations: 215.2 kB / 452.9 MB, free: 2.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.793, allocations: 7.938 kB / 452.9 MB, free: 2.512 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat does not exist to compare? outputFormat=mat