Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009118/0.0009114, allocations: 102.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5605/0.5605, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003245, allocations: 4.219 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4377, allocations: 63.25 MB / 0.5193 GB, free: 43.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5629, allocations: 89.13 MB / 0.6063 GB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5632, allocations: 81.42 kB / 0.6064 GB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.582, allocations: 6.495 MB / 0.6127 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.582, allocations: 0 / 0.6127 GB, free: 9.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.555e-05/0.5821, allocations: 8 kB / 0.6127 GB, free: 9.918 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001086/0.5832, allocations: 0.6124 MB / 0.6133 GB, free: 9.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5832, allocations: 8.031 kB / 0.6133 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.5834, allocations: 78.52 kB / 0.6134 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.5838, allocations: 83.41 kB / 0.6135 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5842, allocations: 271.4 kB / 0.6137 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.5842, allocations: 29 kB / 0.6138 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.5843, allocations: 47.91 kB / 0.6138 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.585, allocations: 381 kB / 0.6142 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.585, allocations: 4 kB / 0.6142 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.5851, allocations: 19.95 kB / 0.6142 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.5851, allocations: 8 kB / 0.6142 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.5856, allocations: 255.8 kB / 0.6145 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.5874, allocations: 1.101 MB / 0.6155 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.588, allocations: 367.4 kB / 0.6159 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5881, allocations: 4 kB / 0.6159 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5881, allocations: 34.56 kB / 0.6159 GB, free: 6.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.5881, allocations: 0 / 0.6159 GB, free: 6.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.004182/0.5923, allocations: 2.494 MB / 0.6184 GB, free: 3.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.5924, allocations: 110.8 kB / 0.6185 GB, free: 3.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.5927, allocations: 209.8 kB / 0.6187 GB, free: 3.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.5927, allocations: 33.7 kB / 0.6187 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5929, allocations: 176.7 kB / 0.6189 GB, free: 3.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.593, allocations: 205 kB / 0.6191 GB, free: 2.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.5931, allocations: 8 kB / 0.6191 GB, free: 2.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5932, allocations: 358.8 kB / 0.6194 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.5935, allocations: 133 kB / 0.6195 GB, free: 2.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.5938, allocations: 235.8 kB / 0.6198 GB, free: 2.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.5941, allocations: 173.9 kB / 0.6199 GB, free: 1.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5942, allocations: 0 / 0.6199 GB, free: 1.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001093/0.5953, allocations: 0.563 MB / 0.6205 GB, free: 1.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5953, allocations: 4 kB / 0.6205 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5953, allocations: 4 kB / 0.6205 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.5957, allocations: 118.5 kB / 0.6206 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.5961, allocations: 103.9 kB / 0.6207 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.6002, allocations: 4.704 MB / 0.6253 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.6006, allocations: 28.08 kB / 0.6253 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.6006, allocations: 23.94 kB / 0.6253 GB, free: 12.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.6009, allocations: 169.7 kB / 0.6255 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.601, allocations: 43.47 kB / 0.6255 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-05/0.6011, allocations: 46.19 kB / 0.6256 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6011, allocations: 12 kB / 0.6256 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.6011, allocations: 0 / 0.6256 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6011, allocations: 7.984 kB / 0.6256 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.6032, allocations: 1.341 MB / 0.6269 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6032, allocations: 0 / 0.6269 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.6036, allocations: 99.88 kB / 0.627 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.604, allocations: 106.5 kB / 0.6271 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.604, allocations: 12 kB / 0.6271 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/0.6073, allocations: 4.128 MB / 0.6312 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6073, allocations: 8 kB / 0.6312 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.6088, allocations: 1.006 MB / 0.6321 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6089, allocations: 112.7 kB / 0.6323 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.609, allocations: 16 kB / 0.6323 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.6093, allocations: 15.98 kB / 0.6323 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6094, allocations: 47.94 kB / 0.6323 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.6094, allocations: 16 kB / 0.6323 GB, free: 4.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.6096, allocations: 166 kB / 0.6325 GB, free: 4.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6096, allocations: 0 / 0.6325 GB, free: 4.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000726/0.6103, allocations: 124 kB / 0.6326 GB, free: 3.984 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/0.612, allocations: 1.902 MB / 0.6345 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.6134, allocations: 0.7875 MB / 0.6352 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6134, allocations: 0 / 0.6352 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.6142, allocations: 0.5819 MB / 0.6358 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.6147, allocations: 46.95 kB / 0.6359 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.6197, allocations: 4.345 MB / 0.6401 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.6202, allocations: 0.828 MB / 0.6409 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.6204, allocations: 35.27 kB / 0.6409 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.6206, allocations: 131.4 kB / 0.6411 GB, free: 11.04 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6206, allocations: 4 kB / 0.6411 GB, free: 11.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6438, allocations: 7.449 MB / 0.6483 GB, free: 3.789 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.6441, allocations: 210.8 kB / 0.6486 GB, free: 3.539 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.022, allocations: 4 kB / 0.6486 GB, free: 3.535 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat