Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.0007598/0.0007598, allocations: 96.7 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.0008388/0.0008387, allocations: 172.9 kB / 16.58 MB, free: 6.844 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.346/1.346, allocations: 205.4 MB / 222.7 MB, free: 5.895 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.354/0.354, allocations: 43.55 MB / 314.6 MB, free: 8.688 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.0005498/0.0005498, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002115/0.1303, allocations: 1.395 MB / 444.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1321, allocations: 1.305 MB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1322, allocations: 11.94 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1324, allocations: 31.89 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1326, allocations: 43.83 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.1328, allocations: 71.84 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.133, allocations: 87.69 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.1331, allocations: 8.219 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1332, allocations: 39.78 kB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1333, allocations: 35.84 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1333, allocations: 4 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1334, allocations: 51.97 kB / 446 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.1335, allocations: 15.92 kB / 446 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1335, allocations: 37.64 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1337, allocations: 96.08 kB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1337, allocations: 0 / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1337, allocations: 0 / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1337, allocations: 0 / 446.1 MB, free: 9.723 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005134/0.1342, allocations: 402.9 kB / 446.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1343, allocations: 8.031 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1343, allocations: 30.56 kB / 446.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1343, allocations: 15.84 kB / 446.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1346, allocations: 202.9 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1346, allocations: 0 / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1346, allocations: 4 kB / 446.8 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1348, allocations: 67.34 kB / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1348, allocations: 4 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1348, allocations: 4 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1348, allocations: 3.984 kB / 446.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.1349, allocations: 16 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1352, allocations: 276.9 kB / 447.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1354, allocations: 62.62 kB / 447.2 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1354, allocations: 24.84 kB / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1355, allocations: 0 / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1356, allocations: 67.39 kB / 447.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1356, allocations: 0 / 447.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.1362, allocations: 177.1 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1362, allocations: 81.05 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1364, allocations: 149.8 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1364, allocations: 29.64 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1364, allocations: 100.1 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1365, allocations: 31.62 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1365, allocations: 0 / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1366, allocations: 322.8 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.1367, allocations: 23.98 kB / 448.2 MB, free: 7.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.1367, allocations: 46.56 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/0.1368, allocations: 20 kB / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1368, allocations: 0 / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.137, allocations: 97.89 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.137, allocations: 4 kB / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.137, allocations: 0 / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.137, allocations: 4 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1371, allocations: 27.97 kB / 448.4 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1372, allocations: 4.219 kB / 448.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1372, allocations: 4 kB / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1372, allocations: 4 kB / 448.4 MB, free: 7.203 MB / 382.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 9.506e-05/0.1373, allocations: 125.7 kB / 448.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1373, allocations: 12.09 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.1374, allocations: 16.69 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1374, allocations: 7.938 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1374, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1374, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.1378, allocations: 395.3 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1379, allocations: 3.984 kB / 448.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1379, allocations: 8 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1379, allocations: 0 / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1379, allocations: 4 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1379, allocations: 4 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1379, allocations: 0 / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1381, allocations: 208.1 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.1382, allocations: 89 kB / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1382, allocations: 4 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1383, allocations: 4 kB / 449.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1383, allocations: 11.92 kB / 449.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1384, allocations: 4 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1385, allocations: 126.8 kB / 449.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1385, allocations: 0 / 449.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1388, allocations: 35.98 kB / 449.4 MB, free: 6.066 MB / 382.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.001525/0.1403, allocations: 1.124 MB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1405, allocations: 59.97 kB / 450.6 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1405, allocations: 0 / 450.6 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.1406, allocations: 35.92 kB / 450.6 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1409, allocations: 31.89 kB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.1419, allocations: 0.6314 MB / 451.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1422, allocations: 0.6965 MB / 452 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.1423, allocations: 16.88 kB / 452 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1423, allocations: 35.42 kB / 452 MB, free: 3.367 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1423, allocations: 0 / 452 MB, free: 3.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.1567, allocations: 3.05 MB / 455.1 MB, free: 324 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.157, allocations: 221.9 kB / 455.3 MB, free: 76 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.924, allocations: 4 kB / 455.3 MB, free: 72 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat