Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.0009114/0.0009115, 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.00089/0.00089, allocations: 175.4 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.441/1.441, 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.3727/0.3727, allocations: 43.55 MB / 314.6 MB, free: 8.738 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.0007969/0.000797, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1335, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002354/0.1359, allocations: 1.395 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1373, allocations: 0.7383 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.1374, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1378, allocations: 39.83 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.138, allocations: 43.83 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1383, allocations: 75.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1385, allocations: 79.77 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.1386, allocations: 16.2 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1387, allocations: 35.8 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1388, allocations: 27.84 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1388, allocations: 4 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.139, allocations: 39.92 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.139, allocations: 11.98 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1391, allocations: 37.64 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1392, allocations: 92.03 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1392, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1393, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1393, allocations: 0 / 445.5 MB, free: 10.3 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.0005376/0.1398, allocations: 402.8 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1399, allocations: 16.02 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.1399, allocations: 38.5 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.14, allocations: 7.906 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1402, allocations: 206.8 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1402, allocations: 4 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1403, allocations: 4 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1404, allocations: 53.67 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1404, allocations: 0 / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1404, allocations: 3.953 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1405, allocations: 0 / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.1405, allocations: 27.92 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1409, allocations: 284.9 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1411, allocations: 54.67 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1412, allocations: 16.86 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1412, allocations: 7.875 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1414, allocations: 75.34 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1414, allocations: 4 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005454/0.1419, allocations: 177.2 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.142, allocations: 51.41 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1422, allocations: 186.2 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1422, allocations: 25.7 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1423, allocations: 104.1 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1423, allocations: 15.72 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1423, allocations: 4 kB / 447.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1425, allocations: 326.8 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.1425, allocations: 19.98 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1426, allocations: 37.69 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.793e-05/0.1427, allocations: 28 kB / 447.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1427, allocations: 3.938 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.1429, allocations: 97.53 kB / 447.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1429, allocations: 8.031 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1429, allocations: 0 / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1429, allocations: 4 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.143, allocations: 15.94 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.143, allocations: 0 / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.1431, allocations: 11.98 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1431, allocations: 4 kB / 447.8 MB, free: 7.785 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.0001178/0.1432, allocations: 122 kB / 447.9 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1432, allocations: 15.77 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.1433, allocations: 24.64 kB / 448 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1433, allocations: 4 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1433, allocations: 0 / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1433, allocations: 0 / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.1438, allocations: 395.4 kB / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1438, allocations: 0 / 448.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.1438, allocations: 11.98 kB / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1438, allocations: 4 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1439, allocations: 8.031 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1439, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1439, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1441, allocations: 204.1 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1442, allocations: 96.91 kB / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1442, allocations: 4 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1443, allocations: 4.375 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1443, allocations: 7.984 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1443, allocations: 12 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1444, allocations: 140.1 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1445, allocations: 0 / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1447, allocations: 23.98 kB / 448.9 MB, free: 6.629 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.001426/0.1461, allocations: 1.089 MB / 449.9 MB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1463, allocations: 63.91 kB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1463, allocations: 0 / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1464, allocations: 27.98 kB / 450 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1468, allocations: 27.92 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1479, allocations: 0.704 MB / 450.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1483, allocations: 0.7043 MB / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1484, allocations: 21.17 kB / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.1484, allocations: 31.42 kB / 451.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1484, allocations: 4 kB / 451.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.165, allocations: 2.923 MB / 454.4 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.1653, allocations: 221.5 kB / 454.7 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.934, allocations: 0 / 454.7 MB, free: 0.7266 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat