Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.00996/0.00996, allocations: 176 kB / 15.12 MB, free: 5.98 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.076/2.076, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001956/0.001956, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.2505/0.2505, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 11.34 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.2812, allocations: 79.78 MB / 0.5282 GB, free: 3.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.2816, allocations: 67.89 kB / 0.5283 GB, free: 3.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00783/0.2894, allocations: 1.956 MB / 0.5302 GB, free: 1.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2895, allocations: 0 / 0.5302 GB, free: 1.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.2895, allocations: 0 / 0.5302 GB, free: 1.281 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006143/0.2901, allocations: 393.3 kB / 0.5306 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2902, allocations: 8.031 kB / 0.5306 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.2903, allocations: 46.55 kB / 0.5306 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2903, allocations: 15.86 kB / 0.5306 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2905, allocations: 171 kB / 0.5308 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2905, allocations: 12.23 kB / 0.5308 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.2906, allocations: 15.91 kB / 0.5308 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2909, allocations: 129 kB / 0.531 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.291, allocations: 3.984 kB / 0.531 GB, free: 404 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.291, allocations: 4 kB / 0.531 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.291, allocations: 8 kB / 0.531 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.2912, allocations: 63.86 kB / 0.531 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3119/0.6032, allocations: 0.5289 MB / 0.5316 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.6034, allocations: 93.44 kB / 0.5316 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.6035, allocations: 0 / 0.5316 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.6035, allocations: 38.88 kB / 0.5317 GB, free: 82.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.6035, allocations: 0.6875 kB / 0.5317 GB, free: 82.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007878/0.6043, allocations: 296 kB / 0.532 GB, free: 81.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6044, allocations: 81.36 kB / 0.532 GB, free: 81.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.6045, allocations: 119.7 kB / 0.5322 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.6045, allocations: 30.11 kB / 0.5322 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.6046, allocations: 116.3 kB / 0.5323 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.6047, allocations: 37.89 kB / 0.5323 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-06/0.6047, allocations: 4.938 kB / 0.5323 GB, free: 81.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.6048, allocations: 319.9 kB / 0.5326 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.6048, allocations: 24.41 kB / 0.5327 GB, free: 81.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.605, allocations: 86.02 kB / 0.5327 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.6051, allocations: 35.94 kB / 0.5328 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6051, allocations: 2.938 kB / 0.5328 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004582/0.6056, allocations: 168.5 kB / 0.5329 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6056, allocations: 9.172 kB / 0.533 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6056, allocations: 2.422 kB / 0.533 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.6059, allocations: 39.05 kB / 0.533 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.6061, allocations: 21.8 kB / 0.533 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.6081, allocations: 2.549 MB / 0.5355 GB, free: 78.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.6083, allocations: 9.906 kB / 0.5355 GB, free: 78.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.6083, allocations: 7.969 kB / 0.5355 GB, free: 78.66 MB / 378.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 (14): * Single equations (assignments): 12 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6084, allocations: 125.5 kB / 0.5356 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.6085, allocations: 4.938 kB / 0.5356 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.6086, allocations: 11.91 kB / 0.5357 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.6086, allocations: 11.09 kB / 0.5357 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.6086, allocations: 5.094 kB / 0.5357 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6086, allocations: 1.062 kB / 0.5357 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.609, allocations: 203.7 kB / 0.5359 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.609, allocations: 0 / 0.5359 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.6092, allocations: 13.52 kB / 0.5359 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.6094, allocations: 37.7 kB / 0.5359 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6094, allocations: 1.5 kB / 0.5359 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.6113, allocations: 2.548 MB / 0.5384 GB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6114, allocations: 1.469 kB / 0.5384 GB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.6118, allocations: 318.6 kB / 0.5387 GB, free: 75.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.6119, allocations: 89.72 kB / 0.5388 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.6119, allocations: 3.344 kB / 0.5388 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.6121, allocations: 1.031 kB / 0.5388 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.6121, allocations: 13.19 kB / 0.5388 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.6121, allocations: 3.125 kB / 0.5388 GB, free: 75.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.6122, allocations: 95.61 kB / 0.5389 GB, free: 75.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6122, allocations: 3.062 kB / 0.5389 GB, free: 75.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.6128, allocations: 39.27 kB / 0.5389 GB, free: 75.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006946/0.6135, allocations: 0.9107 MB / 0.5398 GB, free: 74.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005472/0.614, allocations: 298.9 kB / 0.5401 GB, free: 74.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6141, allocations: 0 / 0.5401 GB, free: 74.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.6144, allocations: 266.5 kB / 0.5404 GB, free: 74.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.615, allocations: 23.69 kB / 0.5404 GB, free: 74.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.6173, allocations: 2.369 MB / 0.5427 GB, free: 72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.6176, allocations: 0.7119 MB / 0.5434 GB, free: 71.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.6177, allocations: 7.203 kB / 0.5434 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.6178, allocations: 30.95 kB / 0.5434 GB, free: 71.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6178, allocations: 0 / 0.5434 GB, free: 71.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.6467, allocations: 2.643 MB / 0.546 GB, free: 70.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.647, allocations: 196.6 kB / 0.5462 GB, free: 70.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.234, allocations: 7.938 kB / 0.5462 GB, free: 70.69 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat