Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.000939/0.0009393, 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.001234/0.001235, allocations: 176.3 kB / 16.58 MB, free: 5.684 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.459/1.459, allocations: 205.4 MB / 222.8 MB, free: 5.855 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.4307/0.4307, allocations: 43.54 MB / 314.6 MB, free: 8.637 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.0005209/0.0005209, allocations: 20 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002943/0.1416, allocations: 1.395 MB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.143, allocations: 0.7422 MB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1432, allocations: 0 / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.1436, allocations: 79.77 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1439, allocations: 59.8 kB / 445.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1442, allocations: 75.84 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1445, allocations: 95.67 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1446, allocations: 12.22 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1447, allocations: 39.84 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1448, allocations: 55.75 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1449, allocations: 0 / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.145, allocations: 35.98 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1451, allocations: 23.91 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.1451, allocations: 37.64 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1453, allocations: 84.11 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1453, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1453, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1453, allocations: 0 / 445.6 MB, free: 10.21 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.0005796/0.1459, allocations: 422.8 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.146, allocations: 16.02 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.146, allocations: 30.56 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.1461, allocations: 11.81 kB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1465, allocations: 203.6 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1465, allocations: 4 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1465, allocations: 4 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1467, allocations: 57.67 kB / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1467, allocations: 0 / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1467, allocations: 7.938 kB / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1467, allocations: 0 / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.1468, allocations: 19.98 kB / 446.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1472, allocations: 288.9 kB / 446.7 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1474, allocations: 62.56 kB / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1475, allocations: 24.84 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1475, allocations: 0 / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1477, allocations: 71.33 kB / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1477, allocations: 0 / 446.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.1483, allocations: 177.3 kB / 447 MB, free: 8.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1483, allocations: 59.41 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1486, allocations: 214.4 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1486, allocations: 25.7 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1487, allocations: 104.1 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1487, allocations: 27.64 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1487, allocations: 7.938 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1489, allocations: 322.8 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.1489, allocations: 19.98 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.149, allocations: 41.7 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.1491, allocations: 20.08 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1491, allocations: 0 / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1493, allocations: 117.3 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1493, allocations: 4 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1493, allocations: 4 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1493, allocations: 0 / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.1494, allocations: 15.98 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1494, allocations: 4.031 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.1495, allocations: 4 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1495, allocations: 4 kB / 448 MB, free: 7.633 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.0001153/0.1496, allocations: 133.8 kB / 448.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.1497, allocations: 11.86 kB / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.1497, allocations: 17.39 kB / 448.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1497, allocations: 4 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1497, allocations: 0 / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1497, allocations: 4 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1502, allocations: 391.3 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1502, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.1502, allocations: 11.98 kB / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1502, allocations: 0 / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1503, allocations: 8 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1503, allocations: 192 / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1503, allocations: 0 / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1505, allocations: 212.1 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1506, allocations: 100.8 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1506, allocations: 0 / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1507, allocations: 4 kB / 448.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1507, allocations: 11.98 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1507, allocations: 4 kB / 448.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1509, allocations: 160.2 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1509, allocations: 0 / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1511, allocations: 20 kB / 449 MB, free: 6.457 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.001462/0.1526, allocations: 1.089 MB / 450.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1528, allocations: 59.95 kB / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1528, allocations: 0 / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1529, allocations: 31.92 kB / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1532, allocations: 36.09 kB / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1545, allocations: 0.7594 MB / 451 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1549, allocations: 0.7043 MB / 451.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.904e-05/0.155, allocations: 24.47 kB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.155, allocations: 39.42 kB / 451.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.155, allocations: 0 / 451.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1699, allocations: 3.024 MB / 454.8 MB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.1701, allocations: 216.2 kB / 455 MB, free: 396 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.949, allocations: 0 / 455 MB, free: 396 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat