Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.0007359/0.000736, allocations: 96.39 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.000892/0.0008921, allocations: 173.2 kB / 16.58 MB, free: 6.062 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.421/1.421, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.3504/0.3504, allocations: 43.54 MB / 314.6 MB, free: 8.805 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.0005502/0.0005502, allocations: 20 kB / 384 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001999/0.1251, allocations: 1.469 MB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1263, allocations: 0.824 MB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.1264, allocations: 4 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.1269, allocations: 279.4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1272, allocations: 191.5 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.1275, allocations: 139.7 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1278, allocations: 207.4 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.1278, allocations: 9.547 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.128, allocations: 111.6 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1282, allocations: 155.6 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1282, allocations: 4 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.1283, allocations: 39.91 kB / 446.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1285, allocations: 131.6 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1286, allocations: 73.52 kB / 446.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1289, allocations: 271.7 kB / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1289, allocations: 7.984 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1289, allocations: 0 / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1289, allocations: 0 / 446.8 MB, free: 9.02 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.0008834/0.1298, allocations: 0.6687 MB / 447.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1298, allocations: 8.031 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.1299, allocations: 34.55 kB / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.13, allocations: 51.44 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.1305, allocations: 419 kB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1305, allocations: 15.88 kB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1305, allocations: 3.984 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1307, allocations: 83.36 kB / 448 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1307, allocations: 4 kB / 448 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1308, allocations: 3.953 kB / 448 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1308, allocations: 0 / 448 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1309, allocations: 35.91 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1313, allocations: 370.4 kB / 448.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1316, allocations: 105.2 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.1317, allocations: 45.64 kB / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1317, allocations: 0 / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.1319, allocations: 105.1 kB / 448.7 MB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1319, allocations: 0 / 448.7 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004352/0.1324, allocations: 201.3 kB / 448.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1324, allocations: 85.11 kB / 449 MB, free: 6.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1335, allocations: 1.003 MB / 450 MB, free: 5.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1335, allocations: 33.7 kB / 450 MB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1337, allocations: 228.1 kB / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1337, allocations: 31.58 kB / 450.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.1337, allocations: 0 / 450.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1339, allocations: 370.8 kB / 450.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.134, allocations: 27.98 kB / 450.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.1341, allocations: 51.42 kB / 450.7 MB, free: 4.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.2e-05/0.1342, allocations: 35.98 kB / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1342, allocations: 0 / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.1344, allocations: 161 kB / 450.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1345, allocations: 12.05 kB / 450.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1345, allocations: 0 / 450.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1345, allocations: 4 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1346, allocations: 23.89 kB / 450.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1346, allocations: 7.984 kB / 450.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.1347, allocations: 7.906 kB / 450.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1347, allocations: 4 kB / 450.9 MB, free: 4.551 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.0002104/0.1349, allocations: 229.5 kB / 451.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.135, allocations: 55.34 kB / 451.2 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.26e-05/0.1351, allocations: 55.84 kB / 451.3 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1351, allocations: 11.88 kB / 451.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1351, allocations: 3.953 kB / 451.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1351, allocations: 0 / 451.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1354, allocations: 337.4 kB / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1354, allocations: 0 / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.1355, allocations: 11.98 kB / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1355, allocations: 0 / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1355, allocations: 4 kB / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1355, allocations: 256 / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1355, allocations: 8 kB / 451.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1358, allocations: 205.3 kB / 451.9 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.136, allocations: 136.4 kB / 452 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.136, allocations: 8 kB / 452 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1361, allocations: 7.984 kB / 452 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1361, allocations: 8 kB / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1362, allocations: 7.984 kB / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007521/0.1369, allocations: 0.7526 MB / 452.8 MB, free: 2.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1369, allocations: 0 / 452.8 MB, free: 2.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1372, allocations: 40 kB / 452.8 MB, free: 2.594 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.001372/0.1386, allocations: 1.048 MB / 453.9 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1388, allocations: 79.91 kB / 453.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1388, allocations: 0 / 453.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.1389, allocations: 43.95 kB / 454 MB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1393, allocations: 54.28 kB / 454 MB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2114/0.3507, allocations: 2.84 MB / 456.9 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.351, allocations: 0.8397 MB / 457.7 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.3511, allocations: 51.22 kB / 457.8 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3513, allocations: 146.8 kB / 457.9 MB, free: 45.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.3513, allocations: 0 / 457.9 MB, free: 45.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.3697, allocations: 7.889 MB / 465.8 MB, free: 44.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.3699, allocations: 221.4 kB / 466 MB, free: 44.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.17, allocations: 7.156 kB / 466 MB, free: 44.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat