Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions",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.01348/0.01349, allocations: 165 kB / 15.11 MB, free: 6 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.769/1.769, allocations: 170.8 MB / 186.6 MB, free: 1.043 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.002722/0.002722, allocations: 107.3 kB / 226.2 MB, free: 10.08 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.4507/0.4507, allocations: 38.06 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5502, allocations: 75.61 MB / 487.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5505, allocations: 69.95 kB / 487.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.5733, allocations: 5.821 MB / 493.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5733, allocations: 4 kB / 493.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.5734, allocations: 4 kB / 493.2 MB, free: 7.316 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00118/0.5746, allocations: 0.614 MB / 493.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5746, allocations: 8.031 kB / 493.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.343e-05/0.5747, allocations: 77.14 kB / 493.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.5748, allocations: 50.7 kB / 493.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.5752, allocations: 282.6 kB / 494.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.5752, allocations: 25.34 kB / 494.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.5753, allocations: 41.52 kB / 494.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.5762, allocations: 388.6 kB / 494.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.5763, allocations: 4.938 kB / 494.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.5763, allocations: 15.25 kB / 494.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5763, allocations: 8 kB / 494.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.5771, allocations: 268.7 kB / 494.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.5791, allocations: 1.099 MB / 496 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.5798, allocations: 358.5 kB / 496.4 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.5799, allocations: 4 kB / 496.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5799, allocations: 37.56 kB / 496.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.476e-06/0.5799, allocations: 0 / 496.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.005311/0.5853, allocations: 2.495 MB / 498.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5854, allocations: 106.8 kB / 499 MB, free: 1.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.5856, allocations: 214.8 kB / 499.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5857, allocations: 36.95 kB / 499.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.5858, allocations: 189.8 kB / 499.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.586, allocations: 189.6 kB / 499.7 MB, free: 1.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.586, allocations: 17.88 kB / 499.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.5861, allocations: 351.7 kB / 0.4883 GB, free: 1.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.5865, allocations: 129.3 kB / 0.4884 GB, free: 0.9922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.587, allocations: 249.3 kB / 0.4887 GB, free: 0.7695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.5875, allocations: 164.5 kB / 0.4888 GB, free: 0.6758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5875, allocations: 4 kB / 0.4888 GB, free: 0.6719 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001466/0.589, allocations: 0.5661 MB / 0.4894 GB, free: 240 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.589, allocations: 8 kB / 0.4894 GB, free: 232 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.589, allocations: 3.953 kB / 0.4894 GB, free: 228 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.5896, allocations: 134.3 kB / 0.4895 GB, free: 108 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.5903, allocations: 99.56 kB / 0.4896 GB, free: 12 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005374/0.5956, allocations: 4.703 MB / 0.4942 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5961, allocations: 20.75 kB / 0.4942 GB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.5962, allocations: 23.55 kB / 0.4942 GB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.5965, allocations: 161 kB / 0.4944 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5966, allocations: 43.59 kB / 0.4944 GB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.5968, allocations: 55.19 kB / 0.4945 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5968, allocations: 4.438 kB / 0.4945 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.5968, allocations: 4 kB / 0.4945 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5968, allocations: 3.984 kB / 0.4945 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.5999, allocations: 1.345 MB / 0.4958 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5999, allocations: 0 / 0.4958 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.6008, allocations: 103.7 kB / 0.4959 GB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.6012, allocations: 95.97 kB / 0.496 GB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.6013, allocations: 14.31 kB / 0.496 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/0.6057, allocations: 4.137 MB / 0.5001 GB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6058, allocations: 0 / 0.5001 GB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.608, allocations: 1.009 MB / 0.501 GB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.6082, allocations: 142.5 kB / 0.5012 GB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.6083, allocations: 11.56 kB / 0.5012 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.6087, allocations: 18.17 kB / 0.5012 GB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6089, allocations: 50.59 kB / 0.5013 GB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.609, allocations: 15.31 kB / 0.5013 GB, free: 4.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.6092, allocations: 171.4 kB / 0.5014 GB, free: 4.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6092, allocations: 0 / 0.5014 GB, free: 4.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.6102, allocations: 125.3 kB / 0.5015 GB, free: 4.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002689/0.6129, allocations: 1.903 MB / 0.5034 GB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.6148, allocations: 0.7735 MB / 0.5042 GB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6149, allocations: 0 / 0.5042 GB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.6162, allocations: 0.5839 MB / 0.5047 GB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.6169, allocations: 46.28 kB / 0.5048 GB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.6241, allocations: 4.352 MB / 0.509 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.6247, allocations: 0.8358 MB / 0.5098 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.6249, allocations: 39.25 kB / 0.5099 GB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.6252, allocations: 130.6 kB / 0.51 GB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6252, allocations: 4 kB / 0.51 GB, free: 12.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/0.6666, allocations: 7.456 MB / 0.5173 GB, free: 4.723 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004044/0.667, allocations: 199.7 kB / 0.5175 GB, free: 4.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.506, allocations: 0 / 0.5175 GB, free: 4.488 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat