Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.0008709/0.000871, allocations: 98.36 kB / 17 MB, free: 6.414 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.0008632/0.0008632, allocations: 188 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.42/1.42, allocations: 223.2 MB / 241.9 MB, free: 248 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.2253/0.2253, allocations: 44.23 MB / 337.2 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8.719 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001951/0.1353, allocations: 1.266 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.136, allocations: 371.7 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1361, allocations: 3.938 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1363, allocations: 15.92 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1364, allocations: 31.91 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1367, allocations: 98.69 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1369, allocations: 51.84 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.137, allocations: 8 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.137, allocations: 23.91 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.1371, allocations: 15.86 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1371, allocations: 0 / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.1372, allocations: 20 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1372, allocations: 19.92 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1373, allocations: 29.7 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1374, allocations: 60.19 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1374, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1374, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1374, allocations: 3.938 kB / 473.6 MB, free: 11.59 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.0004354/0.1379, allocations: 379 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1379, allocations: 8.031 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.138, allocations: 38.5 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.138, allocations: 3.906 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1382, allocations: 191 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1382, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1382, allocations: 3.953 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1384, allocations: 45.69 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1384, allocations: 8 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1384, allocations: 0 / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1384, allocations: 3.984 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.1385, allocations: 35.91 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1389, allocations: 276.9 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1391, allocations: 42.56 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1392, allocations: 28.94 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1392, allocations: 3.938 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1392, allocations: 30.56 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1393, allocations: 0 / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005594/0.1398, allocations: 173.2 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1399, allocations: 51.41 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.14, allocations: 150 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.14, allocations: 29.7 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.1401, allocations: 96.05 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1401, allocations: 23.73 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1401, allocations: 0 / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1403, allocations: 322.8 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.1403, allocations: 23.98 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.1404, allocations: 27.97 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.1405, allocations: 32.17 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1405, allocations: 0 / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1407, allocations: 89.58 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1407, allocations: 9.719 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1407, allocations: 3.984 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1407, allocations: 7.938 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1408, allocations: 19.98 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1408, allocations: 0 / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.1409, allocations: 7.938 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1409, allocations: 7.984 kB / 475.8 MB, free: 9.238 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 8.69e-05/0.141, allocations: 118.3 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.141, allocations: 7.906 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.1413, allocations: 106 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1413, allocations: 7.938 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1413, allocations: 0 / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1413, allocations: 3.938 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.1418, allocations: 358.5 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1418, allocations: 3.984 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.1419, allocations: 12 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1419, allocations: 0 / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1419, allocations: 0 / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1419, allocations: 0 / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1419, allocations: 4 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1421, allocations: 199.3 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1422, allocations: 85.25 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1422, allocations: 4 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.1423, allocations: 12 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1423, allocations: 3.984 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1423, allocations: 4 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.1424, allocations: 119.2 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1427, allocations: 16 kB / 476.8 MB, free: 8.09 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.001329/0.144, allocations: 1.024 MB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1442, allocations: 63.97 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1442, allocations: 0 / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.1443, allocations: 31.92 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1447, allocations: 11.98 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1457, allocations: 0.6021 MB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.146, allocations: 0.7018 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.1461, allocations: 11.98 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1461, allocations: 23.44 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1461, allocations: 3.938 kB / 479.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.1588, allocations: 2.112 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.159, allocations: 233.2 kB / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.991, allocations: 4 kB / 481.6 MB, free: 3.434 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat