Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.0009881/0.0009883, allocations: 179.6 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.523/1.523, allocations: 221.3 MB / 236 MB, free: 2.969 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.001031/0.00103, allocations: 80.06 kB / 287 MB, free: 260 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.2722/0.2722, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.455e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5866, allocations: 86.11 MB / 0.5859 GB, free: 3.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5869, allocations: 67.97 kB / 0.5859 GB, free: 3.109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006618/0.5935, allocations: 2.691 MB / 0.5886 GB, free: 444 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5935, allocations: 0 / 0.5886 GB, free: 444 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.5936, allocations: 8 kB / 0.5886 GB, free: 436 kB / 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.0004194/0.594, allocations: 406.5 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.594, allocations: 12.03 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.5941, allocations: 46.55 kB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.5941, allocations: 15.81 kB / 0.589 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5943, allocations: 186.9 kB / 0.5892 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5943, allocations: 12.27 kB / 0.5892 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.5943, allocations: 31.86 kB / 0.5893 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.5946, allocations: 165.6 kB / 0.5894 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5946, allocations: 0 / 0.5894 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.5946, allocations: 7.984 kB / 0.5894 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5947, allocations: 4 kB / 0.5894 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.5948, allocations: 79.98 kB / 0.5895 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.5956, allocations: 0.615 MB / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.5958, allocations: 129.2 kB / 0.5902 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.5959, allocations: 45.72 kB / 0.5903 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.5959, allocations: 4 kB / 0.5903 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5959, allocations: 38.55 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5959, allocations: 3.031 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003797/0.5963, allocations: 151.1 kB / 0.5905 GB, free: 14.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5964, allocations: 81.11 kB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.5965, allocations: 118.6 kB / 0.5907 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.5965, allocations: 37.64 kB / 0.5907 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.5965, allocations: 124 kB / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.5966, allocations: 59.19 kB / 0.5909 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.5966, allocations: 4 kB / 0.5909 GB, free: 13.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.5967, allocations: 322.8 kB / 0.5912 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.5968, allocations: 40 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.5969, allocations: 92.59 kB / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.597, allocations: 56 kB / 0.5914 GB, free: 13.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.597, allocations: 3.938 kB / 0.5914 GB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003278/0.5973, allocations: 223.1 kB / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5973, allocations: 5.094 kB / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5973, allocations: 4 kB / 0.5916 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.5975, allocations: 45.7 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.5977, allocations: 39.92 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.5995, allocations: 2.728 MB / 0.5943 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.5996, allocations: 11.84 kB / 0.5943 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5996, allocations: 12 kB / 0.5943 GB, free: 9.938 MB / 410.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 7.583e-05/0.5997, allocations: 117.1 kB / 0.5945 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.5998, allocations: 7.906 kB / 0.5945 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.5998, allocations: 16.62 kB / 0.5945 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5998, allocations: 3.984 kB / 0.5945 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5998, allocations: 7.953 kB / 0.5945 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5998, allocations: 3.938 kB / 0.5945 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.6001, allocations: 225.5 kB / 0.5947 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6001, allocations: 0 / 0.5947 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.6003, allocations: 27.98 kB / 0.5947 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.6004, allocations: 53.62 kB / 0.5948 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.6004, allocations: 8 kB / 0.5948 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6021, allocations: 2.716 MB / 0.5974 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6022, allocations: 0 / 0.5974 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.6026, allocations: 388.1 kB / 0.5978 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.6026, allocations: 85.02 kB / 0.5979 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6026, allocations: 8.156 kB / 0.5979 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.6027, allocations: 0 / 0.5979 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.6028, allocations: 19.94 kB / 0.5979 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6028, allocations: 4 kB / 0.5979 GB, free: 5.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.6029, allocations: 102.8 kB / 0.598 GB, free: 5.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6029, allocations: 0 / 0.598 GB, free: 5.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000397/0.6033, allocations: 55.84 kB / 0.5981 GB, free: 5.742 MB / 410.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.0006623/0.6039, allocations: 0.9828 MB / 0.599 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.6044, allocations: 338.2 kB / 0.5994 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6044, allocations: 0 / 0.5994 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.6047, allocations: 285.1 kB / 0.5996 GB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.605, allocations: 28.48 kB / 0.5997 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.606, allocations: 0.6207 MB / 0.6003 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6063, allocations: 0.7282 MB / 0.601 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.6064, allocations: 17.19 kB / 0.601 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.6064, allocations: 43.42 kB / 0.601 GB, free: 2.566 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6064, allocations: 0 / 0.601 GB, free: 2.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.6214, allocations: 3.317 MB / 0.6043 GB, free: 15.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.6217, allocations: 188.6 kB / 0.6045 GB, free: 15.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.173, allocations: 4 kB / 0.6045 GB, free: 15.18 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat