Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.0008706/0.0008706, allocations: 97 kB / 17 MB, free: 6.039 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.0008102/0.0008103, allocations: 182.1 kB / 17.89 MB, free: 5.637 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.353/1.353, allocations: 223.2 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.23 MB / 337.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002022/0.1355, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1367, allocations: 0.8036 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1367, allocations: 4 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.137, allocations: 47.8 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1372, allocations: 47.81 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1374, allocations: 95.58 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1376, allocations: 87.7 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.1377, allocations: 8.219 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.1378, allocations: 43.78 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.1379, allocations: 31.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1379, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.138, allocations: 32 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.138, allocations: 31.89 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1381, allocations: 41.64 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1382, allocations: 96.08 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1382, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1382, allocations: 4 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1382, allocations: 0 / 474.4 MB, free: 10.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005908/0.1388, allocations: 424.8 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1389, allocations: 12.03 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.1389, allocations: 38.5 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.139, allocations: 15.91 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1392, allocations: 202.8 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1392, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1392, allocations: 7.953 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1394, allocations: 53.67 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1394, allocations: 0 / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1394, allocations: 0 / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1394, allocations: 7.922 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.1395, allocations: 16 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1399, allocations: 308.9 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.14, allocations: 50.67 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.1401, allocations: 20.8 kB / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1401, allocations: 8 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1403, allocations: 75.28 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1403, allocations: 0 / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.1408, allocations: 185 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1408, allocations: 51.41 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1411, allocations: 266.3 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1411, allocations: 25.7 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1412, allocations: 116.1 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1412, allocations: 19.72 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1412, allocations: 4 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1414, allocations: 326.8 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.1414, allocations: 27.92 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.1415, allocations: 33.7 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.1416, allocations: 23.94 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1416, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1417, allocations: 113.5 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1418, allocations: 4 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1418, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1418, allocations: 4 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.1419, allocations: 19.92 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1419, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.142, allocations: 7.938 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.142, allocations: 4 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001202/0.1421, allocations: 138.5 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1421, allocations: 15.81 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1422, allocations: 29.33 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1422, allocations: 0 / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1422, allocations: 0 / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1422, allocations: 0 / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1426, allocations: 407.4 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1426, allocations: 4 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.1427, allocations: 8.031 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1427, allocations: 4 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1427, allocations: 4 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1427, allocations: 0 / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1427, allocations: 7.938 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.143, allocations: 200.2 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.143, allocations: 96.91 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.143, allocations: 4 kB / 477.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1431, allocations: 4.375 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1432, allocations: 7.984 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1432, allocations: 8 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1433, allocations: 192.5 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1434, allocations: 0 / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1436, allocations: 24 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001395/0.145, allocations: 1.109 MB / 479.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1452, allocations: 59.89 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1452, allocations: 0 / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.1453, allocations: 31.98 kB / 479.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1456, allocations: 23.92 kB / 479.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1469, allocations: 0.8744 MB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1472, allocations: 0.715 MB / 480.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1473, allocations: 17.17 kB / 480.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1473, allocations: 43.42 kB / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1473, allocations: 0 / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1686, allocations: 3.237 MB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.169, allocations: 220.8 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.084, allocations: 3.875 kB / 484.3 MB, free: 0.793 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat