Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009106/0.0009105, allocations: 95.42 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.16 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.443e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4841, allocations: 86.49 MB / 0.5889 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.4843, allocations: 71.77 kB / 0.589 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006251/0.4906, allocations: 2.656 MB / 0.5916 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4906, allocations: 0 / 0.5916 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4906, allocations: 4 kB / 0.5916 GB, free: 13.53 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004429/0.4911, allocations: 413.8 kB / 0.592 GB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4912, allocations: 12.03 kB / 0.592 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.4912, allocations: 15.81 kB / 0.592 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4914, allocations: 186.8 kB / 0.5922 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4915, allocations: 4 kB / 0.5922 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.4915, allocations: 8 kB / 0.5922 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/0.4917, allocations: 77.58 kB / 0.5923 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.4919, allocations: 136.5 kB / 0.5924 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4919, allocations: 7.844 kB / 0.5924 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.4919, allocations: 4 kB / 0.5924 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4919, allocations: 8 kB / 0.5924 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.4927, allocations: 0.5628 MB / 0.593 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4928, allocations: 119.7 kB / 0.5931 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.4929, allocations: 50.95 kB / 0.5931 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4929, allocations: 3.984 kB / 0.5931 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.493, allocations: 38.69 kB / 0.5932 GB, free: 11.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.493, allocations: 0 / 0.5932 GB, free: 11.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003376/0.4933, allocations: 136.8 kB / 0.5933 GB, free: 11.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4934, allocations: 84.92 kB / 0.5934 GB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.4935, allocations: 115.7 kB / 0.5935 GB, free: 11.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4935, allocations: 29.64 kB / 0.5935 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.4936, allocations: 130.8 kB / 0.5936 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.4936, allocations: 58.56 kB / 0.5937 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4936, allocations: 0 / 0.5937 GB, free: 11.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4937, allocations: 322 kB / 0.594 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.4938, allocations: 34.53 kB / 0.594 GB, free: 11.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.4939, allocations: 95.5 kB / 0.5941 GB, free: 10.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.494, allocations: 52.03 kB / 0.5942 GB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.494, allocations: 0 / 0.5942 GB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003188/0.4943, allocations: 192.8 kB / 0.5944 GB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4943, allocations: 8 kB / 0.5944 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/0.4944, allocations: 4 kB / 0.5944 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.4946, allocations: 50.95 kB / 0.5944 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4947, allocations: 32.23 kB / 0.5945 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.4968, allocations: 2.614 MB / 0.597 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.4969, allocations: 15.83 kB / 0.597 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4969, allocations: 11.31 kB / 0.597 GB, free: 7.852 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.497, allocations: 117 kB / 0.5971 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00024/0.4972, allocations: 144.4 kB / 0.5973 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.4973, allocations: 7.906 kB / 0.5973 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.4973, allocations: 15.06 kB / 0.5973 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4973, allocations: 0 / 0.5973 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4973, allocations: 4 kB / 0.5973 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4974, allocations: 7.984 kB / 0.5973 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.4976, allocations: 190.1 kB / 0.5975 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4976, allocations: 4 kB / 0.5975 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.4977, allocations: 31.92 kB / 0.5975 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.4979, allocations: 40.95 kB / 0.5976 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4979, allocations: 11.23 kB / 0.5976 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.4997, allocations: 2.608 MB / 0.6001 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4997, allocations: 4.031 kB / 0.6001 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.5, allocations: 371 kB / 0.6005 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.5001, allocations: 85.02 kB / 0.6006 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.5001, allocations: 3.984 kB / 0.6006 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.5002, allocations: 0 / 0.6006 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.5002, allocations: 18.98 kB / 0.6006 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.5003, allocations: 4 kB / 0.6006 GB, free: 4.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.5003, allocations: 94.77 kB / 0.6007 GB, free: 3.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5003, allocations: 0 / 0.6007 GB, free: 3.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.5008, allocations: 55.83 kB / 0.6007 GB, free: 3.938 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007116/0.5015, allocations: 0.962 MB / 0.6017 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.5019, allocations: 309.6 kB / 0.602 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5019, allocations: 0 / 0.602 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.5022, allocations: 277.3 kB / 0.6022 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.5025, allocations: 29.45 kB / 0.6023 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5037, allocations: 0.6095 MB / 0.6029 GB, free: 1.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.504, allocations: 0.7321 MB / 0.6036 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.5041, allocations: 13.2 kB / 0.6036 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.5041, allocations: 39.36 kB / 0.6036 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5042, allocations: 0 / 0.6036 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.5269, allocations: 2.895 MB / 0.6065 GB, free: 14.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.5272, allocations: 164.1 kB / 0.6066 GB, free: 13.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.015, allocations: 4 kB / 0.6066 GB, free: 13.89 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat