Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.0015/0.0015, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.481/1.481, allocations: 221.3 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009835, allocations: 97.91 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.638e-05, allocations: 8.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 61.93 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.6208, allocations: 88.99 MB / 0.5887 GB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.6211, allocations: 75.95 kB / 0.5888 GB, free: 168 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.6366, allocations: 5.451 MB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6366, allocations: 0 / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.6366, allocations: 4 kB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004854/0.6371, allocations: 402.2 kB / 0.5945 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6372, allocations: 8.031 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.6373, allocations: 30.56 kB / 0.5945 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.6373, allocations: 15.81 kB / 0.5945 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.6376, allocations: 207.4 kB / 0.5947 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.6377, allocations: 4 kB / 0.5948 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.6377, allocations: 7.953 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6378, allocations: 53.61 kB / 0.5948 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6378, allocations: 0 / 0.5948 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.6378, allocations: 0 / 0.5948 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6378, allocations: 4 kB / 0.5948 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.6379, allocations: 12 kB / 0.5948 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.6382, allocations: 193.5 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.6383, allocations: 50.62 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.6383, allocations: 24.8 kB / 0.5951 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.6384, allocations: 7.938 kB / 0.5951 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.6385, allocations: 63.52 kB / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.6385, allocations: 0 / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002062/0.6387, allocations: 81.5 kB / 0.5952 GB, free: 9.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.6388, allocations: 59.39 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.639, allocations: 194.4 kB / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.639, allocations: 25.7 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.6391, allocations: 108.1 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.6391, allocations: 11.83 kB / 0.5956 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.6391, allocations: 4 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6393, allocations: 322.8 kB / 0.5959 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.6393, allocations: 15.98 kB / 0.5959 GB, free: 8.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.6394, allocations: 37.7 kB / 0.596 GB, free: 8.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.6394, allocations: 15.98 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6394, allocations: 0 / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001327/0.6396, allocations: 89.5 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6396, allocations: 7.953 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6396, allocations: 0 / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.6396, allocations: 0 / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.6397, allocations: 8 kB / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6397, allocations: 7.938 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.6398, allocations: 8.016 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.6398, allocations: 4 kB / 0.5961 GB, free: 8.453 MB / 410.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 (7): * Single equations (assignments): 7 * 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 8.512e-05/0.6399, allocations: 110.5 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.6399, allocations: 11.81 kB / 0.5962 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.6401, allocations: 98.56 kB / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6401, allocations: 0 / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6401, allocations: 0 / 0.5963 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6401, allocations: 3.984 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.6403, allocations: 197.6 kB / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6403, allocations: 0 / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.6403, allocations: 4 kB / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6403, allocations: 0 / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6404, allocations: 3.938 kB / 0.5965 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6404, allocations: 7.953 kB / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6404, allocations: 0 / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.6405, allocations: 113 kB / 0.5966 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.6406, allocations: 104.9 kB / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.6407, allocations: 0 / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.6407, allocations: 0 / 0.5967 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.6407, allocations: 12.12 kB / 0.5967 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6408, allocations: 8 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.6409, allocations: 152.2 kB / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6409, allocations: 0 / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.6411, allocations: 28 kB / 0.5969 GB, free: 7.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001228/0.6424, allocations: 0.916 MB / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.6425, allocations: 43.98 kB / 0.5979 GB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6425, allocations: 0 / 0.5979 GB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.6425, allocations: 19.94 kB / 0.5979 GB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.6428, allocations: 27.94 kB / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.6433, allocations: 219.6 kB / 0.5981 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6436, allocations: 0.7043 MB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.6436, allocations: 24.41 kB / 0.5988 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.6437, allocations: 27.44 kB / 0.5989 GB, free: 5.566 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6437, allocations: 0 / 0.5989 GB, free: 5.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.6625, allocations: 2.865 MB / 0.6016 GB, free: 2.789 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.6629, allocations: 188.1 kB / 0.6018 GB, free: 2.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.26, allocations: 0 / 0.6018 GB, free: 2.562 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat