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.001191/0.001191, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008981/0.0008979, allocations: 104.9 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4232/0.4232, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003447, allocations: 8 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4441, allocations: 63.24 MB / 0.5193 GB, free: 43.34 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.5798, allocations: 87.24 MB / 0.6045 GB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5801, allocations: 63.94 kB / 0.6045 GB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007193/0.5873, allocations: 2.675 MB / 0.6071 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5873, allocations: 3.938 kB / 0.6071 GB, free: 15.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5873, allocations: 4 kB / 0.6071 GB, free: 15.56 MB / 426.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.0005889/0.5879, allocations: 423.2 kB / 0.6075 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.588, allocations: 12.66 kB / 0.6076 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.5881, allocations: 52.14 kB / 0.6076 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.5881, allocations: 19.72 kB / 0.6076 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.5883, allocations: 182.8 kB / 0.6078 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5884, allocations: 8.328 kB / 0.6078 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.5884, allocations: 20 kB / 0.6078 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.5887, allocations: 161.6 kB / 0.608 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5887, allocations: 7.906 kB / 0.608 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.5888, allocations: 8 kB / 0.608 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.5888, allocations: 4 kB / 0.608 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.589, allocations: 91.88 kB / 0.6081 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.5898, allocations: 0.6189 MB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5901, allocations: 133.2 kB / 0.6088 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.5901, allocations: 4 kB / 0.6088 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5901, allocations: 31.69 kB / 0.6088 GB, free: 13.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5901, allocations: 0 / 0.6088 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008558/0.591, allocations: 393.4 kB / 0.6092 GB, free: 13.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.591, allocations: 77.11 kB / 0.6093 GB, free: 13.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5912, allocations: 114.8 kB / 0.6094 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5912, allocations: 29.7 kB / 0.6094 GB, free: 12.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.5913, allocations: 140 kB / 0.6096 GB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.5913, allocations: 51.2 kB / 0.6096 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5913, allocations: 0 / 0.6096 GB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5915, allocations: 326.8 kB / 0.6099 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.5916, allocations: 35.98 kB / 0.61 GB, free: 12.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.5917, allocations: 105.5 kB / 0.6101 GB, free: 12.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.5918, allocations: 48 kB / 0.6101 GB, free: 12.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5918, allocations: 7.875 kB / 0.6101 GB, free: 12.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000384/0.5922, allocations: 227 kB / 0.6103 GB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5922, allocations: 4 kB / 0.6103 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5922, allocations: 4 kB / 0.6103 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.5925, allocations: 50.17 kB / 0.6104 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.5926, allocations: 39.92 kB / 0.6104 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.595, allocations: 2.727 MB / 0.6131 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.5951, allocations: 20.16 kB / 0.6131 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.5951, allocations: 8 kB / 0.6131 GB, free: 8.832 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.000139/0.5953, allocations: 133.7 kB / 0.6132 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.5953, allocations: 16.05 kB / 0.6133 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.5954, allocations: 20.7 kB / 0.6133 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5954, allocations: 3.984 kB / 0.6133 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5954, allocations: 4.469 kB / 0.6133 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5954, allocations: 0 / 0.6133 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5958, allocations: 225.6 kB / 0.6135 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.5958, allocations: 4 kB / 0.6135 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.5959, allocations: 23.98 kB / 0.6135 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.5961, allocations: 53.56 kB / 0.6136 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.5961, allocations: 7.953 kB / 0.6136 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.5982, allocations: 2.74 MB / 0.6163 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5982, allocations: 3.938 kB / 0.6163 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.5986, allocations: 382.3 kB / 0.6166 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.5987, allocations: 88.97 kB / 0.6167 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.5987, allocations: 8.062 kB / 0.6167 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5989, allocations: 0 / 0.6167 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.5989, allocations: 15.97 kB / 0.6167 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.5989, allocations: 4 kB / 0.6167 GB, free: 4.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.4e-05/0.599, allocations: 96.95 kB / 0.6168 GB, free: 4.652 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.599, allocations: 4 kB / 0.6168 GB, free: 4.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004497/0.5995, allocations: 59.84 kB / 0.6169 GB, free: 4.59 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.0007845/0.6003, allocations: 0.9843 MB / 0.6179 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.6008, allocations: 344.2 kB / 0.6182 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6008, allocations: 0.5 kB / 0.6182 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.6012, allocations: 293.2 kB / 0.6185 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.6015, allocations: 29.75 kB / 0.6185 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.6042, allocations: 2.694 MB / 0.6211 GB, free: 80 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.6045, allocations: 0.732 MB / 0.6218 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.6046, allocations: 5.438 kB / 0.6218 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.6047, allocations: 48.48 kB / 0.6219 GB, free: 15.26 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6047, allocations: 0 / 0.6219 GB, free: 15.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.6228, allocations: 3.313 MB / 0.6251 GB, free: 12.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.6231, allocations: 229.5 kB / 0.6253 GB, free: 11.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.429, allocations: 2.953 kB / 0.6253 GB, free: 11.94 MB / 442.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