Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.0007438/0.0007439, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008607/0.0008607, allocations: 171.8 kB / 16.58 MB, free: 6.84 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.448/1.448, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3895/0.3895, allocations: 43.56 MB / 314.6 MB, free: 9.02 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.0005345/0.0005346, allocations: 20 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002299/0.1389, allocations: 1.583 MB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1401, allocations: 0.7811 MB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.1402, allocations: 0 / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1405, allocations: 27.86 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1407, allocations: 51.77 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.141, allocations: 91.81 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1411, allocations: 115.6 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1413, allocations: 29.41 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1414, allocations: 51.78 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1414, allocations: 39.72 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1415, allocations: 4 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.1416, allocations: 35.98 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.1416, allocations: 19.92 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1417, allocations: 45.64 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1418, allocations: 100 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1418, allocations: 0 / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1419, allocations: 0 / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1419, allocations: 0 / 445.9 MB, free: 10.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006216/0.1425, allocations: 472.2 kB / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1425, allocations: 12.03 kB / 446.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.1426, allocations: 38.55 kB / 446.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1426, allocations: 15.81 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1429, allocations: 215.6 kB / 446.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1429, allocations: 8 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1429, allocations: 7.938 kB / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1432, allocations: 112.2 kB / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1432, allocations: 0 / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1432, allocations: 3.953 kB / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1432, allocations: 4 kB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1434, allocations: 55.91 kB / 446.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.144, allocations: 0.5009 MB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1443, allocations: 98.59 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.1444, allocations: 40.83 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1444, allocations: 0 / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.1446, allocations: 95.25 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1446, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003761/0.145, allocations: 145.4 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1451, allocations: 59.39 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1453, allocations: 187.5 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1453, allocations: 25.7 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.1454, allocations: 116 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1454, allocations: 31.61 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1454, allocations: 7.938 kB / 448.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1456, allocations: 322.8 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.1456, allocations: 27.98 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1458, allocations: 68.27 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.1459, allocations: 39.89 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1459, allocations: 0 / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002568/0.1461, allocations: 145.3 kB / 448.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1462, allocations: 4 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1462, allocations: 0 / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1462, allocations: 4 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.1463, allocations: 23.98 kB / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1463, allocations: 0 / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1464, allocations: 19.92 kB / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1464, allocations: 8.594 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001037/0.1465, allocations: 133.7 kB / 448.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1465, allocations: 19.8 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.1466, allocations: 17.39 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1466, allocations: 0 / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1466, allocations: 3.938 kB / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1466, allocations: 0 / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1468, allocations: 213.6 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1468, allocations: 3.953 kB / 449.1 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.1469, allocations: 19.98 kB / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1469, allocations: 0 / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1469, allocations: 0 / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1469, allocations: 4 kB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1469, allocations: 0 / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1473, allocations: 188.8 kB / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.1473, allocations: 104.8 kB / 449.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1474, allocations: 0 / 449.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1474, allocations: 11.98 kB / 449.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1475, allocations: 8 kB / 449.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1475, allocations: 3.984 kB / 449.4 MB, free: 6.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1476, allocations: 137.2 kB / 449.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1476, allocations: 0 / 449.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1479, allocations: 28.05 kB / 449.6 MB, free: 6.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001448/0.1493, allocations: 1.032 MB / 450.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1496, allocations: 91.83 kB / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1496, allocations: 0 / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.1497, allocations: 35.98 kB / 450.8 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.15, allocations: 32.53 kB / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1512, allocations: 0.8513 MB / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1515, allocations: 0.7162 MB / 452.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.609e-05/0.1516, allocations: 17.41 kB / 452.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.1516, allocations: 39.42 kB / 452.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1516, allocations: 0 / 452.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/0.3945, allocations: 3.258 MB / 455.7 MB, free: 46.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.3947, allocations: 213.5 kB / 455.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.182, allocations: 1.406 kB / 455.9 MB, free: 45.8 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat