Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.0009218/0.0009218, allocations: 98.31 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009502/0.0009505, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003901, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002037/0.1331, allocations: 1.259 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1345, allocations: 0.9453 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.1345, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.1347, allocations: 23.91 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1349, allocations: 35.86 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1352, allocations: 75.47 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1353, allocations: 47.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.1354, allocations: 15.98 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.1354, allocations: 15.91 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1356, allocations: 27.86 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1356, allocations: 0 / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1357, allocations: 43.97 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.1358, allocations: 7.938 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1358, allocations: 29.7 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.136, allocations: 68.12 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.136, allocations: 4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.136, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.136, allocations: 0 / 474.2 MB, free: 11 MB / 350.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.0004641/0.1365, allocations: 379.1 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1365, allocations: 8.031 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1365, allocations: 34.5 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1366, allocations: 4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1368, allocations: 190.8 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1368, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1368, allocations: 11.95 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.137, allocations: 59.41 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.137, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.137, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.137, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.1371, allocations: 31.91 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1375, allocations: 268.9 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1377, allocations: 46.55 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1377, allocations: 16.86 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1378, allocations: 7.938 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1378, allocations: 34.5 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1378, allocations: 0 / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005321/0.1383, allocations: 149.4 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1384, allocations: 89.03 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1385, allocations: 129.8 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1385, allocations: 25.7 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.1386, allocations: 100.1 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1386, allocations: 11.81 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.1386, allocations: 4 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1388, allocations: 322.8 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.1388, allocations: 23.98 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.1389, allocations: 33.7 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.139, allocations: 28.02 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.139, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.1392, allocations: 85.58 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1392, allocations: 4 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1392, allocations: 3.938 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.1392, allocations: 0 / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.1393, allocations: 20.23 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1393, allocations: 0 / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1393, allocations: 12 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1394, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.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.53e-05/0.1395, allocations: 122.3 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1395, allocations: 7.906 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1397, allocations: 97.62 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.1397, allocations: 0 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1397, allocations: 7.938 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1397, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1402, allocations: 354.5 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1402, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.1402, allocations: 16.22 kB / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1403, allocations: 0 / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1403, allocations: 4 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1403, allocations: 0 / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1403, allocations: 11.92 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1405, allocations: 191.3 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1406, allocations: 89 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1406, allocations: 0 / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1407, allocations: 8 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1407, allocations: 11.98 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1407, allocations: 0 / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.698e-05/0.1408, allocations: 103.3 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1408, allocations: 0 / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1411, allocations: 20 kB / 477.4 MB, free: 7.527 MB / 350.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.001429/0.1425, allocations: 1.061 MB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1427, allocations: 51.97 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1427, allocations: 4 kB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1428, allocations: 31.86 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1431, allocations: 19.98 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.1441, allocations: 0.5202 MB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1443, allocations: 0.6887 MB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.1444, allocations: 7.984 kB / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.1445, allocations: 35.36 kB / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1445, allocations: 0 / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.158, allocations: 2.289 MB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1583, allocations: 216.2 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.133, allocations: 0 / 482.3 MB, free: 2.785 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat does not exist to compare? outputFormat=mat