Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.0009957/0.0009961, allocations: 95.34 kB / 15.68 MB, free: 488 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.001249/0.001249, allocations: 177.8 kB / 16.57 MB, free: 6.379 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.713/1.713, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3812/0.3812, allocations: 43.55 MB / 314.5 MB, free: 8.699 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.0005918/0.000592, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002173/0.1271, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1285, allocations: 0.7344 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.1286, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1289, allocations: 39.77 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1291, allocations: 35.89 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1294, allocations: 75.77 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1296, allocations: 55.92 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1297, allocations: 20.2 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1298, allocations: 39.8 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.1299, allocations: 23.84 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1299, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.13, allocations: 27.92 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.1301, allocations: 23.91 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1301, allocations: 33.7 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1303, allocations: 80.11 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1303, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1303, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1303, allocations: 0 / 445.4 MB, free: 10.37 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.000551/0.1309, allocations: 410.7 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1309, allocations: 8.031 kB / 445.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.131, allocations: 46.55 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.131, allocations: 7.906 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1313, allocations: 202.8 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1313, allocations: 0 / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1313, allocations: 8 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1315, allocations: 53.66 kB / 446.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1315, allocations: 7.938 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1315, allocations: 7.953 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1315, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.1316, allocations: 19.98 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.132, allocations: 280.9 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1322, allocations: 54.62 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1322, allocations: 8.125 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1324, allocations: 63.34 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1324, allocations: 0 / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.133, allocations: 177.1 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.133, allocations: 55.39 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1332, allocations: 190.2 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1333, allocations: 29.7 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.1333, allocations: 100.1 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1334, allocations: 19.72 kB / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1334, allocations: 0 / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1335, allocations: 326.8 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.1336, allocations: 19.98 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.1337, allocations: 33.7 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/0.1337, allocations: 31.94 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1337, allocations: 3.938 kB / 447.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1339, allocations: 97.53 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1339, allocations: 8 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.134, allocations: 0 / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.134, allocations: 0 / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.1341, allocations: 15.94 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1341, allocations: 7.984 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1342, allocations: 4 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1342, allocations: 8.031 kB / 447.7 MB, free: 7.879 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 0.0001237/0.1343, allocations: 121.8 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1343, allocations: 23.75 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.1344, allocations: 12.72 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1344, allocations: 3.984 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1344, allocations: 384 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1344, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1349, allocations: 399.3 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1349, allocations: 4 kB / 448.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1349, allocations: 11.98 kB / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1349, allocations: 0 / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.135, allocations: 8 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.135, allocations: 0 / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.135, allocations: 3.938 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1352, allocations: 218 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1353, allocations: 92.91 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1353, allocations: 0 / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.1354, allocations: 4.188 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1355, allocations: 11.98 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1355, allocations: 3.938 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1356, allocations: 148 kB / 448.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 0 / 448.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1359, allocations: 24 kB / 448.8 MB, free: 6.703 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.001686/0.1376, allocations: 1.18 MB / 449.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1378, allocations: 55.91 kB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1378, allocations: 0 / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1379, allocations: 27.98 kB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1382, allocations: 24.11 kB / 450 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1395, allocations: 0.8432 MB / 450.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1399, allocations: 0.7082 MB / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1399, allocations: 9.203 kB / 451.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.14, allocations: 39.42 kB / 451.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.14, allocations: 0 / 451.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1533, allocations: 2.915 MB / 454.6 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1535, allocations: 212.5 kB / 454.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.921, allocations: 0 / 454.8 MB, free: 0.5898 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat