Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009985/0.009985, allocations: 174.5 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.092/2.092, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00202/0.00202, allocations: 112.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2998/0.2998, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005115, allocations: 10.16 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.286, allocations: 81.89 MB / 0.5303 GB, free: 1.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.2864, allocations: 71.97 kB / 0.5304 GB, free: 1.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3258/0.6121, allocations: 5.774 MB / 0.536 GB, free: 82.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6122, allocations: 1.062 kB / 0.536 GB, free: 82.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.6122, allocations: 10.47 kB / 0.536 GB, free: 82.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001176/0.6134, allocations: 0.5774 MB / 0.5366 GB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6135, allocations: 11.47 kB / 0.5366 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.6136, allocations: 71.5 kB / 0.5367 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.6137, allocations: 44.56 kB / 0.5367 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.6141, allocations: 265.9 kB / 0.537 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.6142, allocations: 27 kB / 0.537 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.6143, allocations: 43.48 kB / 0.537 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.6153, allocations: 403 kB / 0.5374 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.6153, allocations: 4.875 kB / 0.5374 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.6154, allocations: 13.91 kB / 0.5374 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6154, allocations: 10.06 kB / 0.5374 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.6162, allocations: 226.5 kB / 0.5376 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.6196, allocations: 1.713 MB / 0.5393 GB, free: 80.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.6203, allocations: 268 kB / 0.5396 GB, free: 80.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.6204, allocations: 10.34 kB / 0.5396 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.6204, allocations: 38.02 kB / 0.5396 GB, free: 80.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.238e-06/0.6204, allocations: 1.094 kB / 0.5396 GB, free: 80.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001111/0.6216, allocations: 280.8 kB / 0.5399 GB, free: 80.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.6216, allocations: 212.8 kB / 0.5401 GB, free: 80.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.622, allocations: 238.7 kB / 0.5403 GB, free: 80.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.6221, allocations: 35.92 kB / 0.5404 GB, free: 80.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.6223, allocations: 237.5 kB / 0.5406 GB, free: 79.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6224, allocations: 118.1 kB / 0.5407 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.6225, allocations: 11.69 kB / 0.5407 GB, free: 79.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.6226, allocations: 349.9 kB / 0.541 GB, free: 79.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.6229, allocations: 102.4 kB / 0.5411 GB, free: 79.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.6235, allocations: 429.9 kB / 0.5415 GB, free: 79.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.624, allocations: 168.4 kB / 0.5417 GB, free: 79.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.624, allocations: 3.469 kB / 0.5417 GB, free: 79.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/0.6254, allocations: 0.5345 MB / 0.5422 GB, free: 78.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.6255, allocations: 11.56 kB / 0.5422 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.6255, allocations: 15.11 kB / 0.5423 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.747e-05/0.6256, allocations: 21.19 kB / 0.5423 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.6264, allocations: 152.7 kB / 0.5424 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.418e-05/0.6265, allocations: 22.33 kB / 0.5424 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.627, allocations: 65.38 kB / 0.5425 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.6271, allocations: 31.05 kB / 0.5425 GB, free: 78.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.6275, allocations: 176.1 kB / 0.5427 GB, free: 78.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.6277, allocations: 32.38 kB / 0.5427 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.6278, allocations: 35.58 kB / 0.5428 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6278, allocations: 5.312 kB / 0.5428 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.6278, allocations: 1.5 kB / 0.5428 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6279, allocations: 10.33 kB / 0.5428 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.6298, allocations: 0.6496 MB / 0.5434 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6298, allocations: 6.438 kB / 0.5434 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.6307, allocations: 89.83 kB / 0.5435 GB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/0.6308, allocations: 2.75 kB / 0.5435 GB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.6309, allocations: 13.5 kB / 0.5435 GB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.6309, allocations: 8.078 kB / 0.5435 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.6309, allocations: 1.375 kB / 0.5435 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.6321, allocations: 0.936 MB / 0.5444 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.6323, allocations: 110.5 kB / 0.5446 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.6324, allocations: 8.125 kB / 0.5446 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.633, allocations: 13.97 kB / 0.5446 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.6331, allocations: 25.31 kB / 0.5446 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.6331, allocations: 10.8 kB / 0.5446 GB, free: 77.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002475/0.6334, allocations: 184 kB / 0.5448 GB, free: 77.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6334, allocations: 0 / 0.5448 GB, free: 77.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001077/0.6345, allocations: 107.2 kB / 0.5449 GB, free: 77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.6358, allocations: 2.04 MB / 0.5469 GB, free: 75.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00091/0.6368, allocations: 294.5 kB / 0.5472 GB, free: 75.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6368, allocations: 1.375 kB / 0.5472 GB, free: 75.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.6371, allocations: 88.66 kB / 0.5472 GB, free: 74.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6381, allocations: 66.31 kB / 0.5473 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.6462, allocations: 10.91 MB / 0.558 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.6466, allocations: 0.8035 MB / 0.5588 GB, free: 63.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.6469, allocations: 45.5 kB / 0.5588 GB, free: 63.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.6471, allocations: 115.2 kB / 0.5589 GB, free: 63.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6471, allocations: 0 / 0.5589 GB, free: 63.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/0.6856, allocations: 5.953 MB / 0.5647 GB, free: 60.15 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.6859, allocations: 188.1 kB / 0.5649 GB, free: 59.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.265, allocations: 0 / 0.5649 GB, free: 59.91 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat