Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.0008821/0.0008821, allocations: 97.33 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.0008726/0.0008726, allocations: 173.7 kB / 16.58 MB, free: 5.66 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.387/1.387, allocations: 205.4 MB / 222.7 MB, free: 5.617 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.3635/0.3635, allocations: 43.54 MB / 314.6 MB, free: 9.059 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.0005093/0.0005093, allocations: 19.98 kB / 384 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.85 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002117/0.132, allocations: 1.476 MB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1333, allocations: 0.8163 MB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1334, allocations: 0 / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.1338, allocations: 295.4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1342, allocations: 199.5 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1345, allocations: 127.7 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1348, allocations: 211.3 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.1349, allocations: 13.55 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.135, allocations: 119.6 kB / 446.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1352, allocations: 159.5 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1353, allocations: 0 / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.1354, allocations: 36 kB / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1355, allocations: 131.6 kB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.1356, allocations: 85.42 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1359, allocations: 279.7 kB / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1359, allocations: 0 / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1359, allocations: 0 / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1359, allocations: 4 kB / 446.8 MB, free: 9.219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008152/0.1367, allocations: 0.6764 MB / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1368, allocations: 12.03 kB / 447.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.1368, allocations: 30.56 kB / 447.5 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.1369, allocations: 47.34 kB / 447.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.1374, allocations: 423.1 kB / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1374, allocations: 0 / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1374, allocations: 12 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1376, allocations: 87.3 kB / 448.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1377, allocations: 0 / 448.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1377, allocations: 7.953 kB / 448.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1377, allocations: 4 kB / 448.1 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.1378, allocations: 23.98 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.1382, allocations: 382.3 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1384, allocations: 105.2 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.1385, allocations: 37.7 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1386, allocations: 7.984 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.1389, allocations: 113 kB / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1389, allocations: 0 / 448.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004946/0.1394, allocations: 201 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.1394, allocations: 77.11 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.1407, allocations: 1.038 MB / 450 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1407, allocations: 29.7 kB / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.1409, allocations: 232.1 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.141, allocations: 27.64 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.141, allocations: 8 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1413, allocations: 362.8 kB / 450.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.1413, allocations: 27.98 kB / 450.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1415, allocations: 59.42 kB / 450.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.1416, allocations: 35.92 kB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1416, allocations: 0 / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002863/0.1419, allocations: 161 kB / 451 MB, free: 4.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1419, allocations: 7.984 kB / 451 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1419, allocations: 4 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1419, allocations: 4.062 kB / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1421, allocations: 27.95 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1421, allocations: 7.922 kB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.1422, allocations: 8.562 kB / 451 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1422, allocations: 4 kB / 451 MB, free: 4.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002466/0.1425, allocations: 229.6 kB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1425, allocations: 55.28 kB / 451.3 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.1426, allocations: 56 kB / 451.4 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1426, allocations: 8 kB / 451.4 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.1426, allocations: 7.953 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1427, allocations: 3.984 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.143, allocations: 341.4 kB / 451.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.143, allocations: 0 / 451.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.1431, allocations: 8 kB / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.1431, allocations: 0 / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1431, allocations: 11.92 kB / 451.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1431, allocations: 0 / 451.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1431, allocations: 0 / 451.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1435, allocations: 213.1 kB / 451.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1436, allocations: 140.4 kB / 452.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.1437, allocations: 8 kB / 452.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1438, allocations: 4 kB / 452.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.1438, allocations: 7.984 kB / 452.1 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1438, allocations: 8 kB / 452.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008299/0.1447, allocations: 0.7799 MB / 452.9 MB, free: 2.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1447, allocations: 0 / 452.9 MB, free: 2.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.145, allocations: 47.98 kB / 452.9 MB, free: 2.695 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001403/0.1464, allocations: 1.039 MB / 454 MB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1466, allocations: 79.89 kB / 454.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1466, allocations: 4 kB / 454.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.1467, allocations: 35.92 kB / 454.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1471, allocations: 66.25 kB / 454.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2109/0.358, allocations: 2.916 MB / 457.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3584, allocations: 0.841 MB / 457.9 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.3586, allocations: 54.73 kB / 458 MB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3588, allocations: 145.7 kB / 458.1 MB, free: 45.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.774e-06/0.3588, allocations: 2.969 kB / 458.1 MB, free: 45.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3782, allocations: 8.032 MB / 466.1 MB, free: 44.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.3784, allocations: 228.2 kB / 466.4 MB, free: 44.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.184, allocations: 4 kB / 466.4 MB, free: 44.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat