Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.TestMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestMove",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.01064/0.01064, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.069/2.069, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002055/0.002055, allocations: 124.5 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.259/0.259, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004798, allocations: 13.56 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5885/0.6953, allocations: 95.11 MB / 0.5432 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6956, allocations: 73.48 kB / 0.5433 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3721/1.068, allocations: 57.87 MB / 0.5998 GB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.068, allocations: 0 / 0.5998 GB, free: 4.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001902/1.068, allocations: 57.09 kB / 0.5998 GB, free: 4.441 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01421/1.082, allocations: 2.708 MB / 0.6025 GB, free: 2.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.082, allocations: 15.61 kB / 0.6025 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002919/1.085, allocations: 495.1 kB / 0.603 GB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/1.108, allocations: 1.973 MB / 0.6049 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/1.127, allocations: 3.361 MB / 0.6082 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/1.127, allocations: 182.9 kB / 0.6084 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/1.129, allocations: 249.1 kB / 0.6086 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/1.158, allocations: 6.886 MB / 0.6153 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/1.159, allocations: 51.61 kB / 0.6154 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/1.16, allocations: 125.1 kB / 0.6155 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001848/1.162, allocations: 0.7077 MB / 0.6162 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/1.18, allocations: 5.884 MB / 0.6219 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05579/1.236, allocations: 33.6 MB / 0.6547 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/1.244, allocations: 2.102 MB / 0.6568 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/1.244, allocations: 178.5 kB / 0.657 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.244, allocations: 46.81 kB / 0.657 GB, free: 14.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 4.498e-06/1.244, allocations: 0 / 0.657 GB, free: 14.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.02609/1.27, allocations: 6.372 MB / 0.6632 GB, free: 8.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.27, allocations: 137 kB / 0.6634 GB, free: 7.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007543/1.278, allocations: 2.603 MB / 0.6659 GB, free: 5.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003174/1.278, allocations: 41.7 kB / 0.6659 GB, free: 5.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00271/1.281, allocations: 2.099 MB / 0.668 GB, free: 3.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/1.282, allocations: 461.9 kB / 0.6684 GB, free: 2.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/1.283, allocations: 84 kB / 0.6685 GB, free: 2.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004676/1.283, allocations: 0.4919 MB / 0.669 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/1.288, allocations: 1.41 MB / 0.6704 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007691/1.295, allocations: 4.239 MB / 0.6745 GB, free: 10.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006696/1.302, allocations: 2.39 MB / 0.6768 GB, free: 8.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.302, allocations: 28.19 kB / 0.6769 GB, free: 8.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.0167/1.319, allocations: 5.453 MB / 0.6822 GB, free: 3.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.319, allocations: 51.95 kB / 0.6822 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/1.319, allocations: 108.5 kB / 0.6823 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/1.32, allocations: 148 kB / 0.6825 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007185/1.327, allocations: 1.088 MB / 0.6836 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002616/1.327, allocations: 195.2 kB / 0.6837 GB, free: 1.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/1.332, allocations: 287.5 kB / 0.684 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.334, allocations: 275.8 kB / 0.6843 GB, free: 0.9844 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 3 * 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.003916/1.338, allocations: 1.383 MB / 0.6856 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/1.338, allocations: 236.9 kB / 0.6859 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/1.342, allocations: 1.23 MB / 0.6871 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/1.342, allocations: 12 kB / 0.6871 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.342, allocations: 0 / 0.6871 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.342, allocations: 7.984 kB / 0.6871 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/1.355, allocations: 4.394 MB / 0.6914 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.355, allocations: 8.062 kB / 0.6914 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/1.357, allocations: 211.6 kB / 0.6916 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/1.357, allocations: 12 kB / 0.6916 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.357, allocations: 24 kB / 0.6916 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/1.357, allocations: 11.98 kB / 0.6916 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.357, allocations: 7.938 kB / 0.6916 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/1.363, allocations: 2.577 MB / 0.6941 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.365, allocations: 465.7 kB / 0.6946 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/1.365, allocations: 24 kB / 0.6946 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.367, allocations: 83.84 kB / 0.6947 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.368, allocations: 67.81 kB / 0.6948 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.368, allocations: 39.75 kB / 0.6948 GB, free: 5.953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004938/1.373, allocations: 1.83 MB / 0.6966 GB, free: 4.117 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.206e-06/1.373, allocations: 0 / 0.6966 GB, free: 4.117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004789/1.378, allocations: 0.6327 MB / 0.6972 GB, free: 3.484 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.005668/1.383, allocations: 4.381 MB / 0.7015 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008457/1.392, allocations: 3.227 MB / 0.7046 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.392, allocations: 0 / 0.7046 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.394, allocations: 0.778 MB / 0.7054 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.396, allocations: 249.2 kB / 0.7056 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3958/1.792, allocations: 90.39 MB / 0.7939 GB, free: 67.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006257/1.798, allocations: 2.26 MB / 0.7961 GB, free: 67.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009683/1.808, allocations: 1.453 MB / 0.7975 GB, free: 67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003977/1.812, allocations: 1.079 MB / 0.7986 GB, free: 66.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/1.812, allocations: 0 / 0.7986 GB, free: 66.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/1.938, allocations: 48.19 MB / 0.8456 GB, free: 50.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.938, allocations: 159.6 kB / 0.8458 GB, free: 49.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.349/6.288, allocations: 3.719 kB / 0.8458 GB, free: 49.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat