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.001019/0.001019, allocations: 173.1 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.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.5 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.0008944/0.0008944, allocations: 104.6 kB / 281.6 MB, free: 5.254 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.2383/0.2383, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.143e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1636, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.6159, allocations: 85.44 MB / 0.5782 GB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.6161, allocations: 63.97 kB / 0.5783 GB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006514/0.6227, allocations: 2.665 MB / 0.5809 GB, free: 8.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6227, allocations: 0 / 0.5809 GB, free: 8.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.6227, allocations: 8 kB / 0.5809 GB, free: 8.18 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.0004254/0.6231, allocations: 410.4 kB / 0.5813 GB, free: 7.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6232, allocations: 15.98 kB / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.6232, allocations: 15.81 kB / 0.5813 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6234, allocations: 174.9 kB / 0.5815 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6234, allocations: 8 kB / 0.5815 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.6234, allocations: 19.89 kB / 0.5815 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001571/0.6236, allocations: 80.59 kB / 0.5816 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.6238, allocations: 141.3 kB / 0.5817 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.6238, allocations: 3.938 kB / 0.5817 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.6239, allocations: 3.938 kB / 0.5817 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6239, allocations: 4 kB / 0.5817 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.6246, allocations: 0.5688 MB / 0.5823 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.6248, allocations: 117.2 kB / 0.5824 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.6248, allocations: 45.72 kB / 0.5824 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6249, allocations: 4 kB / 0.5824 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.6249, allocations: 42.67 kB / 0.5825 GB, free: 6.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.6249, allocations: 0 / 0.5825 GB, free: 6.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003669/0.6253, allocations: 134.2 kB / 0.5826 GB, free: 6.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6253, allocations: 89.06 kB / 0.5827 GB, free: 6.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.6254, allocations: 119.5 kB / 0.5828 GB, free: 5.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.6254, allocations: 25.7 kB / 0.5828 GB, free: 5.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.6255, allocations: 131.9 kB / 0.5829 GB, free: 5.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.6256, allocations: 55.19 kB / 0.583 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6256, allocations: 0 / 0.583 GB, free: 5.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6257, allocations: 326.8 kB / 0.5833 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.6257, allocations: 28 kB / 0.5833 GB, free: 5.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.6258, allocations: 97.72 kB / 0.5834 GB, free: 5.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.372e-05/0.6259, allocations: 51.91 kB / 0.5835 GB, free: 5.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6259, allocations: 0 / 0.5835 GB, free: 5.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003008/0.6262, allocations: 187.1 kB / 0.5837 GB, free: 5.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6263, allocations: 16.33 kB / 0.5837 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6263, allocations: 3.938 kB / 0.5837 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.6265, allocations: 49.64 kB / 0.5837 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.6266, allocations: 31.98 kB / 0.5838 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.6283, allocations: 2.609 MB / 0.5863 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.6284, allocations: 15.75 kB / 0.5863 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.6284, allocations: 12 kB / 0.5863 GB, free: 2.074 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.919e-05/0.6285, allocations: 112.9 kB / 0.5864 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002489/0.6288, allocations: 143.2 kB / 0.5866 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.6288, allocations: 11.86 kB / 0.5866 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.6289, allocations: 16.62 kB / 0.5866 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6289, allocations: 192 / 0.5866 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6289, allocations: 4 kB / 0.5866 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6289, allocations: 3.984 kB / 0.5866 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.6292, allocations: 197.9 kB / 0.5868 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6292, allocations: 0 / 0.5868 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.6293, allocations: 31.92 kB / 0.5868 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.6294, allocations: 45.7 kB / 0.5869 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6295, allocations: 7.953 kB / 0.5869 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.6312, allocations: 2.609 MB / 0.5894 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6312, allocations: 0 / 0.5894 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.6316, allocations: 362.3 kB / 0.5898 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.6316, allocations: 92.91 kB / 0.5899 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.6316, allocations: 8.016 kB / 0.5899 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.55e-05/0.6317, allocations: 0 / 0.5899 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.6318, allocations: 23.97 kB / 0.5899 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.6318, allocations: 0 / 0.5899 GB, free: 14.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.6319, allocations: 95.28 kB / 0.59 GB, free: 14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6319, allocations: 0 / 0.59 GB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.6323, allocations: 47.94 kB / 0.59 GB, free: 13.95 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.0006273/0.6329, allocations: 0.9658 MB / 0.591 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.6334, allocations: 323.8 kB / 0.5913 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6334, allocations: 4 kB / 0.5913 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.6336, allocations: 263.5 kB / 0.5915 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.634, allocations: 32.33 kB / 0.5916 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009993/0.635, allocations: 0.61 MB / 0.5922 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.6353, allocations: 0.7282 MB / 0.5929 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.6353, allocations: 9.203 kB / 0.5929 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.6354, allocations: 43.42 kB / 0.5929 GB, free: 10.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6354, allocations: 0 / 0.5929 GB, free: 10.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.6563, allocations: 2.891 MB / 0.5957 GB, free: 7.973 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.6565, allocations: 167.2 kB / 0.5959 GB, free: 7.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.204, allocations: 0 / 0.5959 GB, free: 7.773 MB / 410.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