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.00116/0.001159, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.472/1.472, 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.0008863/0.000886, allocations: 92.92 kB / 292.1 MB, free: 10.92 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.3777/0.3777, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003323, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4603, allocations: 61.9 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5901, allocations: 86.18 MB / 0.5938 GB, free: 8.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5904, allocations: 71.92 kB / 0.5939 GB, free: 8.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007318/0.5977, allocations: 2.682 MB / 0.5965 GB, free: 6.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5978, allocations: 0 / 0.5965 GB, free: 6.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5978, allocations: 7.938 kB / 0.5965 GB, free: 6.184 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006331/0.5984, allocations: 415.2 kB / 0.5969 GB, free: 5.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5985, allocations: 12.03 kB / 0.5969 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.5986, allocations: 46.55 kB / 0.5969 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.5986, allocations: 15.81 kB / 0.597 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.5988, allocations: 198.7 kB / 0.5971 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.5989, allocations: 12.27 kB / 0.5972 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.5989, allocations: 19.95 kB / 0.5972 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.5992, allocations: 161.6 kB / 0.5973 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5992, allocations: 7.906 kB / 0.5973 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5993, allocations: 8 kB / 0.5973 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5993, allocations: 4 kB / 0.5973 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.5995, allocations: 83.95 kB / 0.5974 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.6005, allocations: 0.615 MB / 0.598 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.6007, allocations: 137.1 kB / 0.5982 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.6007, allocations: 7.984 kB / 0.5982 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.6008, allocations: 39.81 kB / 0.5982 GB, free: 4.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.6008, allocations: 0 / 0.5982 GB, free: 4.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008645/0.6016, allocations: 385.2 kB / 0.5986 GB, free: 3.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.6017, allocations: 77.11 kB / 0.5986 GB, free: 3.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6018, allocations: 117.3 kB / 0.5988 GB, free: 3.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6019, allocations: 29.7 kB / 0.5988 GB, free: 3.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.602, allocations: 128 kB / 0.5989 GB, free: 3.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.602, allocations: 59.2 kB / 0.599 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.602, allocations: 0 / 0.599 GB, free: 3.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6022, allocations: 326.8 kB / 0.5993 GB, free: 3.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.6023, allocations: 35.98 kB / 0.5993 GB, free: 2.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6024, allocations: 104.5 kB / 0.5994 GB, free: 2.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.6025, allocations: 56.25 kB / 0.5995 GB, free: 2.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6025, allocations: 4 kB / 0.5995 GB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004078/0.6029, allocations: 226.9 kB / 0.5997 GB, free: 2.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6029, allocations: 4 kB / 0.5997 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.603, allocations: 4 kB / 0.5997 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.6032, allocations: 53.94 kB / 0.5997 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.6034, allocations: 35.92 kB / 0.5998 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.6058, allocations: 2.724 MB / 0.6024 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.6059, allocations: 15.84 kB / 0.6025 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.6059, allocations: 8 kB / 0.6025 GB, free: 15.46 MB / 426.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 () * Number of clocked 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 0.0001342/0.606, allocations: 137.8 kB / 0.6026 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.6061, allocations: 15.75 kB / 0.6026 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.6061, allocations: 16.72 kB / 0.6026 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6061, allocations: 4.188 kB / 0.6026 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.6062, allocations: 4 kB / 0.6026 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6062, allocations: 3.953 kB / 0.6026 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.6065, allocations: 229.6 kB / 0.6029 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6065, allocations: 4 kB / 0.6029 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.6067, allocations: 27.98 kB / 0.6029 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.6068, allocations: 41.7 kB / 0.6029 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.6068, allocations: 4 kB / 0.6029 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.609, allocations: 2.736 MB / 0.6056 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.609, allocations: 0 / 0.6056 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.6094, allocations: 385.5 kB / 0.606 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.6095, allocations: 89 kB / 0.6061 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.6095, allocations: 8.062 kB / 0.6061 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.6096, allocations: 3.938 kB / 0.6061 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.6097, allocations: 15.94 kB / 0.6061 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.6097, allocations: 8 kB / 0.6061 GB, free: 11.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.6097, allocations: 97.52 kB / 0.6062 GB, free: 11.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6097, allocations: 0 / 0.6062 GB, free: 11.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004535/0.6102, allocations: 59.84 kB / 0.6062 GB, free: 11.22 MB / 426.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 () * Number of clocked 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.0007531/0.611, allocations: 0.9828 MB / 0.6072 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005429/0.6115, allocations: 357.6 kB / 0.6075 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6115, allocations: 0 / 0.6075 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.6119, allocations: 285.3 kB / 0.6078 GB, free: 9.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.6122, allocations: 23.92 kB / 0.6078 GB, free: 9.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.6147, allocations: 2.689 MB / 0.6105 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.615, allocations: 0.7281 MB / 0.6112 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.6151, allocations: 13.36 kB / 0.6112 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.6152, allocations: 51.52 kB / 0.6112 GB, free: 5.883 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6152, allocations: 3.938 kB / 0.6112 GB, free: 5.879 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.6354, allocations: 3.331 MB / 0.6145 GB, free: 2.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004288/0.6359, allocations: 224.8 kB / 0.6147 GB, free: 2.527 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.298, allocations: 0 / 0.6147 GB, free: 2.527 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