Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001252/0.001252, allocations: 95.89 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.00162/0.00162, allocations: 175.5 kB / 16.56 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.808/1.808, allocations: 205.4 MB / 222.7 MB, free: 5.625 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.3818/0.3818, allocations: 43.54 MB / 314.5 MB, free: 8.727 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.0005212/0.0005213, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1312, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002201/0.1334, allocations: 1.388 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1347, allocations: 0.7344 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1349, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1352, allocations: 35.84 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1354, allocations: 43.81 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1358, allocations: 63.91 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.136, allocations: 63.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1361, allocations: 8.219 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1362, allocations: 47.77 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.1363, allocations: 19.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1363, allocations: 7.938 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1364, allocations: 31.92 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1365, allocations: 15.98 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.1365, allocations: 37.64 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1367, allocations: 88.09 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1367, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1367, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1367, 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.0006096/0.1374, allocations: 406.7 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1374, allocations: 8.031 kB / 445.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.1375, allocations: 42.56 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1375, allocations: 7.906 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1378, allocations: 202.8 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1378, allocations: 8 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1379, allocations: 0 / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.138, allocations: 53.67 kB / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1381, allocations: 4 kB / 446.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1381, allocations: 3.953 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1381, allocations: 0 / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.1382, allocations: 23.92 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1386, allocations: 284.9 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1388, allocations: 58.67 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1388, allocations: 7.938 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1391, allocations: 71.47 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1391, allocations: 0 / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1397, allocations: 169.2 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1397, allocations: 51.41 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1399, allocations: 190.2 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1399, allocations: 25.7 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.14, allocations: 96.14 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.14, allocations: 23.7 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.14, allocations: 8 kB / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1401, allocations: 326.8 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.1402, allocations: 19.98 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.1403, allocations: 33.7 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.1403, allocations: 27.98 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1404, allocations: 3.938 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1405, allocations: 97.73 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1406, allocations: 8 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1406, allocations: 3.938 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1406, allocations: 0 / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.1407, allocations: 19.92 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.1407, allocations: 4 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1408, allocations: 4 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1408, allocations: 4 kB / 447.7 MB, free: 7.883 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.00012/0.1409, allocations: 129.8 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1409, allocations: 15.77 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.141, allocations: 24.7 kB / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.141, allocations: 0 / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.141, allocations: 0 / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.141, allocations: 3.984 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1415, allocations: 391.3 kB / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1415, allocations: 0 / 448.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.1415, allocations: 12.03 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1415, allocations: 0 / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1416, allocations: 4 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1416, allocations: 7.984 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1416, allocations: 0 / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1418, allocations: 218.1 kB / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.1419, allocations: 92.92 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.142, allocations: 384 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.142, allocations: 11.98 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1421, allocations: 0 / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1421, allocations: 8 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1422, allocations: 144 kB / 448.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1422, allocations: 4 kB / 448.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1425, allocations: 23.98 kB / 448.7 MB, free: 6.707 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.001744/0.1443, allocations: 1.188 MB / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1445, allocations: 55.91 kB / 450 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1445, allocations: 0 / 450 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.1446, allocations: 24 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.0002789/0.1449, allocations: 23.97 kB / 450 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1463, allocations: 0.8471 MB / 450.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1468, allocations: 0.7082 MB / 451.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.1468, allocations: 17.17 kB / 451.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1469, allocations: 35.42 kB / 451.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1469, allocations: 0 / 451.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.1621, allocations: 2.906 MB / 454.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004376/0.1626, allocations: 216.3 kB / 454.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.929, allocations: 64 / 454.8 MB, free: 0.5898 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat