Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001326, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2333/0.2333, allocations: 46.12 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 75.88 kB / 480.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3378, allocations: 62.44 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002995/0.3409, allocations: 1.661 MB / 0.5322 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003747/0.3413, allocations: 119.9 kB / 0.5323 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.3414, allocations: 0 / 0.5323 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.469e-05/0.3415, allocations: 19.3 kB / 0.5323 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3417, allocations: 35.3 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.3418, allocations: 23.47 kB / 0.5324 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3421, allocations: 131.4 kB / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3423, allocations: 38.95 kB / 0.5326 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3424, allocations: 39.64 kB / 0.5326 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3425, allocations: 56.8 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3426, allocations: 8.938 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.198e-05/0.3426, allocations: 9.969 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.3426, allocations: 19.72 kB / 0.5327 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.3428, allocations: 60.11 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.343, allocations: 129 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.343, allocations: 5.125 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.343, allocations: 0 / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.343, allocations: 0 / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007132/0.3438, allocations: 408.4 kB / 0.5333 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3438, allocations: 9.094 kB / 0.5333 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.3439, allocations: 47.05 kB / 0.5333 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3439, allocations: 14.73 kB / 0.5333 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.3441, allocations: 193.6 kB / 0.5335 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3442, allocations: 9.516 kB / 0.5335 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3442, allocations: 17.09 kB / 0.5335 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.3446, allocations: 126.2 kB / 0.5337 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3446, allocations: 9.828 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3446, allocations: 4 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3446, allocations: 3.781 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3448, allocations: 73.75 kB / 0.5337 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3459, allocations: 0.5309 MB / 0.5343 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3462, allocations: 91.81 kB / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.3462, allocations: 31.22 kB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.3463, allocations: 1.375 kB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.3463, allocations: 43.95 kB / 0.5344 GB, free: 9.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.3463, allocations: 0 / 0.5344 GB, free: 9.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007958/0.3471, allocations: 299.2 kB / 0.5347 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3472, allocations: 78.48 kB / 0.5348 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3474, allocations: 128.8 kB / 0.5349 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3474, allocations: 27.08 kB / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3475, allocations: 121.3 kB / 0.5351 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.3476, allocations: 31.86 kB / 0.5351 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.3477, allocations: 27.34 kB / 0.5351 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3479, allocations: 328.1 kB / 0.5354 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.3479, allocations: 24.36 kB / 0.5354 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3481, allocations: 86.39 kB / 0.5355 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3484, allocations: 121.5 kB / 0.5356 GB, free: 8.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3484, allocations: 1.375 kB / 0.5356 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000445/0.3489, allocations: 165.1 kB / 0.5358 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3489, allocations: 6.875 kB / 0.5358 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3489, allocations: 5.312 kB / 0.5358 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.3492, allocations: 40.3 kB / 0.5359 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3493, allocations: 29.8 kB / 0.5359 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.3525, allocations: 2.734 MB / 0.5386 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3527, allocations: 19.73 kB / 0.5386 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3527, allocations: 5.344 kB / 0.5386 GB, free: 5.668 MB / 398.1 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.3529, allocations: 128.4 kB / 0.5387 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.353, allocations: 7.906 kB / 0.5387 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.353, allocations: 9.719 kB / 0.5387 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3531, allocations: 5.375 kB / 0.5387 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3531, allocations: 1.219 kB / 0.5387 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3531, allocations: 1.281 kB / 0.5387 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.3535, allocations: 211.1 kB / 0.5389 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3535, allocations: 1.062 kB / 0.5389 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3536, allocations: 14.92 kB / 0.5389 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.3538, allocations: 45.11 kB / 0.539 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3538, allocations: 1.031 kB / 0.539 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.3569, allocations: 2.737 MB / 0.5417 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3569, allocations: 1.188 kB / 0.5417 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3574, allocations: 303 kB / 0.5419 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.3575, allocations: 83.8 kB / 0.542 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3575, allocations: 5.469 kB / 0.542 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3577, allocations: 1.312 kB / 0.542 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3578, allocations: 15.38 kB / 0.542 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3578, allocations: 2.656 kB / 0.542 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.3579, allocations: 92.55 kB / 0.5421 GB, free: 1.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3579, allocations: 0 / 0.5421 GB, free: 1.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006431/0.3586, allocations: 39.77 kB / 0.5422 GB, free: 1.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009611/0.3595, allocations: 0.8386 MB / 0.543 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.3602, allocations: 307.7 kB / 0.5433 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3602, allocations: 5.438 kB / 0.5433 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.3605, allocations: 259 kB / 0.5435 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.361, allocations: 28.88 kB / 0.5436 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.3637, allocations: 1.985 MB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3642, allocations: 0.7042 MB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.3643, allocations: 12.38 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.3643, allocations: 23.97 kB / 0.5462 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3644, allocations: 0 / 0.5462 GB, free: 13.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.3987, allocations: 3.016 MB / 0.5492 GB, free: 12.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.81, allocations: 4.625 kB / 0.5492 GB, free: 12.4 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)