Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01018/0.01018, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.75/1.75, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002053/0.002053, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4662/0.4662, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004902, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5116, allocations: 75.51 MB / 487.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5119, allocations: 70.89 kB / 487.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.5339, allocations: 5.774 MB / 493 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.534, allocations: 0 / 493 MB, free: 7.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.534, allocations: 8 kB / 493.1 MB, free: 7.488 MB / 330.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.001063/0.5351, allocations: 0.5893 MB / 493.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5352, allocations: 12.69 kB / 493.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.42e-05/0.5353, allocations: 74.66 kB / 493.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.5354, allocations: 42.8 kB / 493.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5357, allocations: 259.6 kB / 494 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.5357, allocations: 28.44 kB / 494 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.5358, allocations: 47.34 kB / 494.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.5366, allocations: 388.8 kB / 494.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.5367, allocations: 15.16 kB / 494.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.5367, allocations: 14.06 kB / 494.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.5367, allocations: 8 kB / 494.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.5374, allocations: 226.8 kB / 494.7 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.5401, allocations: 1.725 MB / 496.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.5407, allocations: 261.9 kB / 496.7 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.5407, allocations: 11.94 kB / 496.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5408, allocations: 38.06 kB / 496.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.036e-06/0.5408, allocations: 0 / 496.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.000944/0.5417, allocations: 284 kB / 497 MB, free: 3.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5418, allocations: 213.6 kB / 497.2 MB, free: 3.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.5421, allocations: 242.9 kB / 497.5 MB, free: 3.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5421, allocations: 29.02 kB / 497.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.5423, allocations: 240.8 kB / 497.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.5424, allocations: 125.6 kB / 497.9 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.5424, allocations: 7.312 kB / 497.9 MB, free: 2.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.5425, allocations: 346.2 kB / 498.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.5428, allocations: 96.39 kB / 498.3 MB, free: 2.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.5433, allocations: 428 kB / 498.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.5437, allocations: 177 kB / 498.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5437, allocations: 4 kB / 498.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001163/0.5449, allocations: 0.5254 MB / 499.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5449, allocations: 8 kB / 499.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.5449, allocations: 12.91 kB / 499.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.545, allocations: 16 kB / 499.5 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.5458, allocations: 162.7 kB / 499.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.5458, allocations: 23.88 kB / 499.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.5463, allocations: 62.3 kB / 499.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.5463, allocations: 31.81 kB / 499.7 MB, free: 1.141 MB / 330.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.00022/0.5465, allocations: 182.4 kB / 499.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.5467, allocations: 34.88 kB / 500 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.5468, allocations: 37.02 kB / 500 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5468, allocations: 4 kB / 500 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5469, allocations: 4 kB / 500 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5469, allocations: 4.547 kB / 0.4883 GB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.5486, allocations: 0.6472 MB / 0.4889 GB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.5486, allocations: 0 / 0.4889 GB, free: 296 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.5495, allocations: 92 kB / 0.489 GB, free: 204 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.5495, allocations: 4 kB / 0.489 GB, free: 200 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5495, allocations: 11.06 kB / 0.489 GB, free: 196 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5496, allocations: 11.92 kB / 0.489 GB, free: 184 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5496, allocations: 3.938 kB / 0.489 GB, free: 180 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.5508, allocations: 0.9405 MB / 0.49 GB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.551, allocations: 120.7 kB / 0.4901 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.5511, allocations: 11.75 kB / 0.4901 GB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.5516, allocations: 11.36 kB / 0.4901 GB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.5517, allocations: 27.86 kB / 0.4901 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.5517, allocations: 8 kB / 0.4901 GB, free: 15.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.552, allocations: 185.8 kB / 0.4903 GB, free: 14.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.552, allocations: 4 kB / 0.4903 GB, free: 14.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009914/0.553, allocations: 98.28 kB / 0.4904 GB, free: 14.8 MB / 346.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.001791/0.5548, allocations: 2.04 MB / 0.4924 GB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.5558, allocations: 301.6 kB / 0.4927 GB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5559, allocations: 0 / 0.4927 GB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.5562, allocations: 91.64 kB / 0.4928 GB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/0.5571, allocations: 63.2 kB / 0.4928 GB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.5674, allocations: 10.93 MB / 0.5035 GB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.568, allocations: 0.8111 MB / 0.5043 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.5684, allocations: 47.25 kB / 0.5043 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.5686, allocations: 110.3 kB / 0.5044 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5686, allocations: 0 / 0.5044 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.6005, allocations: 5.95 MB / 0.5102 GB, free: 10.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.6008, allocations: 190.1 kB / 0.5104 GB, free: 10.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.411, allocations: 0 / 0.5104 GB, free: 10.47 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat