Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.01559/0.01559, allocations: 176.7 kB / 15.12 MB, free: 5.977 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 1.994/1.994, 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.002101/0.002101, allocations: 120.6 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.2826/0.2826, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004972, allocations: 14.44 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1251, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.279, allocations: 80.1 MB / 0.5285 GB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.2794, allocations: 59.97 kB / 0.5286 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.2904, allocations: 2.547 MB / 0.5311 GB, free: 416 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2904, allocations: 0 / 0.5311 GB, free: 416 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2905, allocations: 4 kB / 0.5311 GB, free: 412 kB / 378.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.3263/0.6168, allocations: 419.3 kB / 0.5315 GB, free: 81.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.6169, allocations: 7.844 kB / 0.5315 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.617, allocations: 51.62 kB / 0.5315 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.6171, allocations: 21.53 kB / 0.5316 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.6172, allocations: 178.3 kB / 0.5317 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.6173, allocations: 12.36 kB / 0.5317 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.6173, allocations: 18.92 kB / 0.5318 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.6178, allocations: 165.8 kB / 0.5319 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6178, allocations: 4.406 kB / 0.5319 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.6178, allocations: 8.156 kB / 0.5319 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.6179, allocations: 6.156 kB / 0.5319 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.6181, allocations: 91.77 kB / 0.532 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.6194, allocations: 0.6051 MB / 0.5326 GB, free: 80.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.6198, allocations: 136.5 kB / 0.5328 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.6198, allocations: 3.906 kB / 0.5328 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.6199, allocations: 35.47 kB / 0.5328 GB, free: 80.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.236e-06/0.6199, allocations: 2.062 kB / 0.5328 GB, free: 80.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001157/0.6211, allocations: 386.4 kB / 0.5332 GB, free: 80.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6211, allocations: 77.92 kB / 0.5332 GB, free: 80.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.6213, allocations: 116.2 kB / 0.5333 GB, free: 80.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.6213, allocations: 31.98 kB / 0.5334 GB, free: 80.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.6214, allocations: 128.2 kB / 0.5335 GB, free: 80.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.6215, allocations: 57.61 kB / 0.5336 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.6215, allocations: 5.094 kB / 0.5336 GB, free: 80.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.6216, allocations: 326.3 kB / 0.5339 GB, free: 79.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.6217, allocations: 43.56 kB / 0.5339 GB, free: 79.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.6219, allocations: 100.2 kB / 0.534 GB, free: 79.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.622, allocations: 57.62 kB / 0.5341 GB, free: 79.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.6221, allocations: 0.9688 kB / 0.5341 GB, free: 79.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006626/0.6227, allocations: 220.7 kB / 0.5343 GB, free: 79.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.6228, allocations: 6 kB / 0.5343 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6228, allocations: 7.516 kB / 0.5343 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.6232, allocations: 60.31 kB / 0.5343 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.6234, allocations: 30.14 kB / 0.5344 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.626, allocations: 2.731 MB / 0.537 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6262, allocations: 20.19 kB / 0.5371 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.6262, allocations: 8.219 kB / 0.5371 GB, free: 77.16 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 (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.0001589/0.6264, allocations: 135.1 kB / 0.5372 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.6265, allocations: 8.391 kB / 0.5372 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.6265, allocations: 21.44 kB / 0.5372 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6266, allocations: 1.562 kB / 0.5372 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.6266, allocations: 2.406 kB / 0.5372 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6266, allocations: 1.172 kB / 0.5372 GB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.627, allocations: 234.7 kB / 0.5375 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.627, allocations: 0.9375 kB / 0.5375 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.6274, allocations: 32.02 kB / 0.5375 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.6276, allocations: 39.89 kB / 0.5375 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.6277, allocations: 11.17 kB / 0.5375 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.63, allocations: 2.723 MB / 0.5402 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6301, allocations: 2.938 kB / 0.5402 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.6307, allocations: 384.4 kB / 0.5406 GB, free: 73.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.6308, allocations: 88.16 kB / 0.5406 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.6309, allocations: 5.562 kB / 0.5406 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.631, allocations: 4.688 kB / 0.5407 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.6311, allocations: 21.11 kB / 0.5407 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.6311, allocations: 3.922 kB / 0.5407 GB, free: 73.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.6312, allocations: 103.5 kB / 0.5408 GB, free: 73.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6312, allocations: 0 / 0.5408 GB, free: 73.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006998/0.632, allocations: 51.31 kB / 0.5408 GB, free: 73.76 MB / 378.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.000918/0.6329, allocations: 1 MB / 0.5418 GB, free: 72.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.6337, allocations: 347.1 kB / 0.5421 GB, free: 72.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6338, allocations: 0 / 0.5421 GB, free: 72.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.6342, allocations: 284.3 kB / 0.5424 GB, free: 72.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.6348, allocations: 25.53 kB / 0.5424 GB, free: 72.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.6381, allocations: 2.685 MB / 0.5451 GB, free: 70.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.6384, allocations: 0.7302 MB / 0.5458 GB, free: 69.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.6385, allocations: 17.78 kB / 0.5458 GB, free: 69.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.6386, allocations: 42.36 kB / 0.5458 GB, free: 69.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6386, allocations: 0 / 0.5458 GB, free: 69.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.671, allocations: 3.34 MB / 0.5491 GB, free: 69.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.6713, allocations: 222.3 kB / 0.5493 GB, free: 68.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.241, allocations: 5.312 kB / 0.5493 GB, free: 68.85 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat