Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001213/0.001213, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009427/0.0009428, allocations: 92.25 kB / 267.1 MB, free: 9.277 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.555/0.555, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.474e-05/5.478e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1809, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.6989, allocations: 87.58 MB / 0.5584 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6992, allocations: 73.83 kB / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.7135, allocations: 5.218 MB / 0.5636 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.7136, allocations: 0 / 0.5636 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.7136, allocations: 3.062 kB / 0.5636 GB, free: 13.44 MB / 394.7 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.0004494/0.7141, allocations: 398.8 kB / 0.564 GB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7141, allocations: 8.031 kB / 0.564 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.7142, allocations: 39.34 kB / 0.564 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.7142, allocations: 15.34 kB / 0.564 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.7145, allocations: 201.1 kB / 0.5642 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.7145, allocations: 5.406 kB / 0.5642 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.7145, allocations: 3.125 kB / 0.5642 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.7146, allocations: 50.03 kB / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7147, allocations: 0 / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.7147, allocations: 6.922 kB / 0.5643 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7147, allocations: 4.656 kB / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.251e-05/0.7148, allocations: 24.36 kB / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.7151, allocations: 295.9 kB / 0.5646 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.7152, allocations: 47.34 kB / 0.5647 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.7153, allocations: 28.14 kB / 0.5647 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.7153, allocations: 4 kB / 0.5647 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.7154, allocations: 76.39 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.7154, allocations: 0 / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004819/0.7159, allocations: 150.1 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.716, allocations: 55.41 kB / 0.565 GB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.7162, allocations: 166.3 kB / 0.5651 GB, free: 11.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.7162, allocations: 27.44 kB / 0.5651 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.7163, allocations: 102.4 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.7163, allocations: 24.31 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7163, allocations: 3.312 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.7164, allocations: 322.7 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.7165, allocations: 18 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.7165, allocations: 39.86 kB / 0.5656 GB, free: 11.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.7166, allocations: 21.86 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7166, allocations: 4 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.7167, allocations: 99.53 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7167, allocations: 5.094 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7168, allocations: 0 / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.7168, allocations: 4 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.7169, allocations: 15 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7169, allocations: 3.953 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.717, allocations: 5.266 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.717, allocations: 0 / 0.5658 GB, free: 11.3 MB / 394.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 () * 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 6.965e-05/0.7171, allocations: 117.5 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.7171, allocations: 9.172 kB / 0.5659 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.7173, allocations: 125.3 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7173, allocations: 1.312 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7174, allocations: 4 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7174, allocations: 3.953 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.7178, allocations: 400.8 kB / 0.5664 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7178, allocations: 4.031 kB / 0.5664 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.7178, allocations: 8 kB / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7179, allocations: 4 kB / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.7179, allocations: 7.891 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7179, allocations: 3.984 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7179, allocations: 0 / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.7181, allocations: 219.3 kB / 0.5666 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.7181, allocations: 92.92 kB / 0.5667 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.7182, allocations: 7.328 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.7182, allocations: 7.984 kB / 0.5668 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.7183, allocations: 4 kB / 0.5668 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.7183, allocations: 8.234 kB / 0.5668 GB, free: 10.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.7184, allocations: 129 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7184, allocations: 0 / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.7186, allocations: 30.06 kB / 0.5669 GB, free: 10.17 MB / 394.7 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) * 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.001213/0.7199, allocations: 1.143 MB / 0.568 GB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.72, allocations: 54.5 kB / 0.5681 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.72, allocations: 0 / 0.5681 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.7201, allocations: 34.36 kB / 0.5681 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.7204, allocations: 18.92 kB / 0.5681 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.7208, allocations: 221.2 kB / 0.5683 GB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.721, allocations: 0.7043 MB / 0.569 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.721, allocations: 16.84 kB / 0.569 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.7211, allocations: 32.98 kB / 0.5691 GB, free: 8.016 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7211, allocations: 0 / 0.5691 GB, free: 8.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.735, allocations: 2.938 MB / 0.5719 GB, free: 5.113 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7353, allocations: 187.6 kB / 0.5721 GB, free: 4.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.405, allocations: 3.938 kB / 0.5721 GB, free: 4.883 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat