Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001253/0.001253, allocations: 183.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.684/1.684, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0009267/0.0009267, allocations: 98.53 kB / 267.1 MB, free: 9.285 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.3751/0.3751, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.033e-05, allocations: 8 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5713/0.6965, allocations: 87.59 MB / 0.5584 GB, free: 1.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.6969, allocations: 72.53 kB / 0.5585 GB, free: 1.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.7128, allocations: 5.22 MB / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7129, allocations: 0 / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.7129, allocations: 4 kB / 0.5636 GB, free: 12.13 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.0006797/0.7136, allocations: 404 kB / 0.564 GB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.831e-05/0.7137, allocations: 12.03 kB / 0.564 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.7138, allocations: 30.56 kB / 0.564 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.7138, allocations: 15.34 kB / 0.5641 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.7143, allocations: 215.9 kB / 0.5643 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7143, allocations: 4 kB / 0.5643 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.7143, allocations: 4 kB / 0.5643 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.7145, allocations: 53.67 kB / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.7145, allocations: 0 / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.7145, allocations: 1.375 kB / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7146, allocations: 4 kB / 0.5643 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.7147, allocations: 15.98 kB / 0.5643 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.7152, allocations: 296.8 kB / 0.5646 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.7154, allocations: 58.62 kB / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.7155, allocations: 20.92 kB / 0.5647 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.7155, allocations: 4 kB / 0.5647 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.7157, allocations: 68.2 kB / 0.5648 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 5.12e-06/0.7157, allocations: 0 / 0.5648 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000662/0.7164, allocations: 153.4 kB / 0.5649 GB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.7165, allocations: 55.39 kB / 0.565 GB, free: 10.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.7167, allocations: 166.6 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.7167, allocations: 33.7 kB / 0.5652 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.7168, allocations: 96.14 kB / 0.5653 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.7169, allocations: 23.64 kB / 0.5653 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.7169, allocations: 8.781 kB / 0.5653 GB, free: 10.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.7171, allocations: 322.8 kB / 0.5656 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.7172, allocations: 20 kB / 0.5656 GB, free: 9.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.7173, allocations: 34.66 kB / 0.5656 GB, free: 9.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.7173, allocations: 19.98 kB / 0.5657 GB, free: 9.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7174, allocations: 0 / 0.5657 GB, free: 9.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001612/0.7175, allocations: 93.59 kB / 0.5657 GB, free: 9.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7176, allocations: 8 kB / 0.5658 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.7176, allocations: 8.031 kB / 0.5658 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7176, allocations: 0 / 0.5658 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.7177, allocations: 19.98 kB / 0.5658 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.7177, allocations: 7.953 kB / 0.5658 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.7178, allocations: 0 / 0.5658 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.7178, allocations: 4.344 kB / 0.5658 GB, free: 9.68 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 0.0001316/0.718, allocations: 119 kB / 0.5659 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.718, allocations: 11.84 kB / 0.5659 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.7183, allocations: 122.2 kB / 0.566 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7183, allocations: 3.938 kB / 0.566 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.7183, allocations: 0 / 0.566 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.7184, allocations: 3.953 kB / 0.566 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.7189, allocations: 399.3 kB / 0.5664 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7189, allocations: 3.984 kB / 0.5664 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.719, allocations: 8 kB / 0.5664 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.719, allocations: 0 / 0.5664 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.719, allocations: 15.98 kB / 0.5665 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.719, allocations: 0 / 0.5665 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.719, allocations: 3.938 kB / 0.5665 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.7193, allocations: 214 kB / 0.5667 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.7194, allocations: 92.91 kB / 0.5667 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7194, allocations: 7.953 kB / 0.5668 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.7195, allocations: 8 kB / 0.5668 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.7196, allocations: 7.984 kB / 0.5668 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.7196, allocations: 4 kB / 0.5668 GB, free: 8.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.7198, allocations: 131.2 kB / 0.5669 GB, free: 8.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7198, allocations: 0 / 0.5669 GB, free: 8.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.7201, allocations: 31.94 kB / 0.5669 GB, free: 8.406 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.001505/0.7217, allocations: 1.143 MB / 0.568 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.7218, allocations: 55.98 kB / 0.5681 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7218, allocations: 0 / 0.5681 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.7219, allocations: 35.92 kB / 0.5681 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.7222, allocations: 27.25 kB / 0.5682 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.7228, allocations: 213.4 kB / 0.5684 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.7232, allocations: 0.7084 MB / 0.5691 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.7233, allocations: 24.84 kB / 0.5691 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.7233, allocations: 31.42 kB / 0.5691 GB, free: 6.16 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7233, allocations: 0 / 0.5691 GB, free: 6.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.7408, allocations: 2.923 MB / 0.572 GB, free: 3.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.7411, allocations: 187.6 kB / 0.5721 GB, free: 3.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.423, allocations: 0 / 0.5721 GB, free: 3.043 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat