Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 98.89 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3601/0.3601, allocations: 44.21 MB / 387.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 12 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.381, allocations: 61.91 MB / 0.5097 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4965, allocations: 89.3 MB / 0.5969 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4968, allocations: 79.92 kB / 0.5969 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.5117, allocations: 5.543 MB / 0.6024 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5117, allocations: 0 / 0.6024 GB, free: 244 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.5118, allocations: 0 / 0.6024 GB, free: 244 kB / 410.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.0005303/0.5123, allocations: 414.9 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5124, allocations: 12.03 kB / 0.6028 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.5124, allocations: 38.5 kB / 0.6028 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.5125, allocations: 15.89 kB / 0.6028 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.5128, allocations: 210.8 kB / 0.603 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5128, allocations: 11.95 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.5128, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.513, allocations: 57.67 kB / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.513, allocations: 0 / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.513, allocations: 0 / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.513, allocations: 0 / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.5131, allocations: 19.98 kB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.5135, allocations: 300.8 kB / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.5137, allocations: 58.62 kB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5137, allocations: 0 / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.5138, allocations: 71.5 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5139, allocations: 0 / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.5144, allocations: 177.2 kB / 0.6037 GB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5144, allocations: 51.41 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.5146, allocations: 163.2 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5146, allocations: 29.7 kB / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.5147, allocations: 104 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.5147, allocations: 19.75 kB / 0.604 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5147, allocations: 0 / 0.604 GB, free: 14.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.5148, allocations: 331 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.5149, allocations: 19.98 kB / 0.6044 GB, free: 13.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.515, allocations: 37.7 kB / 0.6044 GB, free: 13.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.515, allocations: 24 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.515, allocations: 0 / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.5152, allocations: 109.4 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5153, allocations: 4 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5153, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5153, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.5154, allocations: 24.02 kB / 0.6046 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5154, allocations: 0 / 0.6046 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.5154, allocations: 11.94 kB / 0.6046 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.5155, allocations: 0 / 0.6046 GB, free: 13.74 MB / 426.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 () * 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 9.452e-05/0.5156, allocations: 134.2 kB / 0.6047 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.5156, allocations: 11.91 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.5159, allocations: 118.4 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5159, allocations: 8 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5159, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5159, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.5164, allocations: 415.7 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5164, allocations: 0 / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.5164, allocations: 16 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.5165, allocations: 3.984 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5165, allocations: 3.984 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5165, allocations: 8.031 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5165, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.5167, allocations: 225.9 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.5168, allocations: 89 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.5168, allocations: 4 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.5169, allocations: 4 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.517, allocations: 15.94 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.517, allocations: 4 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.5171, allocations: 131.9 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5171, allocations: 0 / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.5174, allocations: 31.98 kB / 0.6057 GB, free: 12.42 MB / 426.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) * Number of clocked states: 0 () * 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.001519/0.5189, allocations: 1.198 MB / 0.6069 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.5191, allocations: 55.98 kB / 0.607 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5191, allocations: 0 / 0.607 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.5192, allocations: 35.92 kB / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.5195, allocations: 30.89 kB / 0.607 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.5207, allocations: 0.8425 MB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5209, allocations: 0.708 MB / 0.6085 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.521, allocations: 16.86 kB / 0.6086 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.5211, allocations: 35.42 kB / 0.6086 GB, free: 9.57 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5211, allocations: 0 / 0.6086 GB, free: 9.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5344, allocations: 2.923 MB / 0.6114 GB, free: 6.785 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.5346, allocations: 214.6 kB / 0.6116 GB, free: 6.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.227, allocations: 3.938 kB / 0.6116 GB, free: 6.535 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat