Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002397/0.002396, allocations: 182.2 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 98.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5395/0.5395, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000648/0.0006481, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1346, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002616/0.1373, allocations: 1.347 MB / 491.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1392, allocations: 0.7227 MB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1393, allocations: 0 / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.1397, allocations: 51.75 kB / 492.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1399, allocations: 51.86 kB / 492.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1403, allocations: 67.84 kB / 492.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1406, allocations: 55.88 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.1406, allocations: 11.97 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1408, allocations: 39.84 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1409, allocations: 35.84 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1409, allocations: 4 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1411, allocations: 15.98 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1411, allocations: 15.92 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.1412, allocations: 41.62 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1414, allocations: 76.05 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1414, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1414, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1415, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006244/0.1421, allocations: 391 kB / 493.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1422, allocations: 8.031 kB / 493.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1422, allocations: 34.55 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1423, allocations: 11.81 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1426, allocations: 198.8 kB / 493.5 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1427, allocations: 0 / 493.5 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1427, allocations: 0 / 493.5 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1429, allocations: 53.67 kB / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1429, allocations: 0 / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1429, allocations: 3.953 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1429, allocations: 4 kB / 493.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.143, allocations: 19.92 kB / 493.5 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.1433, allocations: 177.7 kB / 493.7 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1436, allocations: 62.48 kB / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1436, allocations: 0 / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1439, allocations: 71.48 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.766e-06/0.1439, allocations: 0 / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004206/0.1443, allocations: 93.52 kB / 493.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1444, allocations: 55.36 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1447, allocations: 166.2 kB / 494.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1447, allocations: 29.7 kB / 494.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.1448, allocations: 158.6 kB / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.1449, allocations: 23.72 kB / 494.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.1449, allocations: 8 kB / 494.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.145, allocations: 310.8 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.1451, allocations: 15.98 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.1452, allocations: 25.7 kB / 494.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.1453, allocations: 19.98 kB / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1453, allocations: 0 / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002606/0.1456, allocations: 77.62 kB / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1456, allocations: 4 kB / 494.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1457, allocations: 0 / 494.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1457, allocations: 4 kB / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1458, allocations: 11.98 kB / 494.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1458, allocations: 3.953 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.1459, allocations: 4 kB / 494.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1459, allocations: 4 kB / 494.8 MB, free: 6.109 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0001427/0.1461, allocations: 125.8 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1461, allocations: 15.92 kB / 495 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.1462, allocations: 12.31 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1462, allocations: 4 kB / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1462, allocations: 0 / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1462, allocations: 3.953 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1465, allocations: 177.5 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1465, allocations: 0 / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.1466, allocations: 7.984 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1466, allocations: 0 / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1466, allocations: 4.25 kB / 495.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1466, allocations: 8 kB / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1466, allocations: 4 kB / 495.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1469, allocations: 109 kB / 495.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.147, allocations: 85 kB / 495.4 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1471, allocations: 8 kB / 495.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1472, allocations: 3.984 kB / 495.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1472, allocations: 7.938 kB / 495.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1472, allocations: 7.938 kB / 495.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1474, allocations: 135.9 kB / 495.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1474, allocations: 0 / 495.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.1478, allocations: 19.98 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00175/0.1495, allocations: 0.9457 MB / 496.5 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1498, allocations: 47.92 kB / 496.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1499, allocations: 0 / 496.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.15, allocations: 19.98 kB / 496.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1503, allocations: 23.92 kB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.1519, allocations: 0.7866 MB / 497.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1523, allocations: 0.7043 MB / 498.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.1525, allocations: 27.42 kB / 498.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1525, allocations: 0 / 498.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/2.984, allocations: 2.122 MB / 0.4885 GB, free: 0.5586 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat