Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",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.000989/0.0009889, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001061/0.001061, allocations: 100.2 kB / 281.6 MB, free: 5.309 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.2386/0.2386, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.844e-05, allocations: 3.938 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1635, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.6217, allocations: 87.33 MB / 0.58 GB, free: 9.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.6219, allocations: 67.97 kB / 0.5801 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.6387, allocations: 6.393 MB / 0.5864 GB, free: 2.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6388, allocations: 0 / 0.5864 GB, free: 2.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.6388, allocations: 8 kB / 0.5864 GB, free: 2.617 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007835/0.6396, allocations: 0.5805 MB / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6396, allocations: 11.98 kB / 0.5869 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.6397, allocations: 43.44 kB / 0.587 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.64, allocations: 279.3 kB / 0.5872 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.6401, allocations: 12 kB / 0.5873 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.6401, allocations: 27.91 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003741/0.6405, allocations: 189.5 kB / 0.5875 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.641, allocations: 300.7 kB / 0.5877 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6411, allocations: 4 kB / 0.5878 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.6411, allocations: 2.844 kB / 0.5878 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.6411, allocations: 12 kB / 0.5878 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.6426, allocations: 1.02 MB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.643, allocations: 308.4 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.6432, allocations: 147.3 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.6433, allocations: 11.94 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6433, allocations: 38.56 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.492e-06/0.6433, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.00294/0.6463, allocations: 2.127 MB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6463, allocations: 110.8 kB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.6465, allocations: 158 kB / 0.5916 GB, free: 12.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6465, allocations: 25.7 kB / 0.5916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.6466, allocations: 193.1 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.6467, allocations: 193.1 kB / 0.592 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.6468, allocations: 0 / 0.592 GB, free: 12.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.6469, allocations: 346.8 kB / 0.5923 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.647, allocations: 101.1 kB / 0.5924 GB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.6473, allocations: 194.8 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.6475, allocations: 139.8 kB / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6475, allocations: 0 / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000766/0.6483, allocations: 473.2 kB / 0.5932 GB, free: 11.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6483, allocations: 7.984 kB / 0.5932 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6483, allocations: 4 kB / 0.5932 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.6486, allocations: 118.5 kB / 0.5933 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.649, allocations: 99.97 kB / 0.5934 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.6524, allocations: 4.483 MB / 0.5978 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.6526, allocations: 16.05 kB / 0.5978 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.6527, allocations: 23.98 kB / 0.5978 GB, free: 5.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6528, allocations: 108.9 kB / 0.5979 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007308/0.6535, allocations: 431.3 kB / 0.5983 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.6536, allocations: 35.56 kB / 0.5984 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.6537, allocations: 33.97 kB / 0.5984 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6537, allocations: 7.984 kB / 0.5984 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.6538, allocations: 4 kB / 0.5984 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6538, allocations: 0 / 0.5984 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.6555, allocations: 1.199 MB / 0.5996 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6555, allocations: 0 / 0.5996 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.656, allocations: 95.89 kB / 0.5997 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/0.6563, allocations: 94.61 kB / 0.5998 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.6563, allocations: 4 kB / 0.5998 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/0.6598, allocations: 3.926 MB / 0.6036 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.6599, allocations: 4.031 kB / 0.6036 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6611, allocations: 0.8976 MB / 0.6045 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6612, allocations: 104.7 kB / 0.6046 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.6612, allocations: 4 kB / 0.6046 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.6615, allocations: 11.98 kB / 0.6046 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.6616, allocations: 43.94 kB / 0.6046 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.6616, allocations: 20 kB / 0.6046 GB, free: 14.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.6618, allocations: 128.4 kB / 0.6048 GB, free: 14.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6618, allocations: 0 / 0.6048 GB, free: 14.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007337/0.6625, allocations: 96 kB / 0.6049 GB, free: 14.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.6639, allocations: 1.783 MB / 0.6066 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.6649, allocations: 0.6699 MB / 0.6073 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.6649, allocations: 4.188 kB / 0.6073 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.6655, allocations: 0.5166 MB / 0.6078 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.6659, allocations: 42.95 kB / 0.6078 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.6676, allocations: 0.9589 MB / 0.6087 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.668, allocations: 0.8281 MB / 0.6095 GB, free: 9.223 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.6681, allocations: 31.28 kB / 0.6096 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.6683, allocations: 127.4 kB / 0.6097 GB, free: 9.066 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6683, allocations: 0 / 0.6097 GB, free: 9.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.6922, allocations: 6.567 MB / 0.6161 GB, free: 2.527 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6925, allocations: 144.1 kB / 0.6163 GB, free: 2.332 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.726, allocations: 0 / 0.6163 GB, free: 2.332 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat