Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.5 kB / 15.11 MB, free: 5.98 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.758/1.758, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.00198/0.00198, allocations: 118.4 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.4875/0.4875, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007393/0.0007394, allocations: 11.98 kB / 363 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.159, allocations: 48.7 MB / 411.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5778, allocations: 75.91 MB / 487.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5781, allocations: 69.03 kB / 487.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03444/0.6126, allocations: 8.387 MB / 496.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6126, allocations: 0 / 496.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.6127, allocations: 8 kB / 496.1 MB, free: 4.484 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001336/0.614, allocations: 0.6756 MB / 496.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6141, allocations: 8.031 kB / 496.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.6142, allocations: 92.66 kB / 496.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.6143, allocations: 55.34 kB / 496.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.6148, allocations: 296.3 kB / 497.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.6148, allocations: 39.94 kB / 497.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6149, allocations: 54.97 kB / 497.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.6159, allocations: 425.5 kB / 497.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.616, allocations: 11.84 kB / 497.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.616, allocations: 18.12 kB / 497.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.6161, allocations: 12 kB / 497.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.6168, allocations: 315.2 kB / 498 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.6192, allocations: 1.167 MB / 499.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6203, allocations: 482.9 kB / 499.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.6204, allocations: 12.47 kB / 499.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6204, allocations: 34.56 kB / 499.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 3.807e-06/0.6204, allocations: 4 kB / 499.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.00454/0.625, allocations: 2.126 MB / 0.4901 GB, free: 15.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.6251, allocations: 85.67 kB / 0.4902 GB, free: 15.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.6255, allocations: 224.9 kB / 0.4904 GB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.6255, allocations: 36.7 kB / 0.4904 GB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6257, allocations: 217.4 kB / 0.4906 GB, free: 14.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.626, allocations: 259.1 kB / 0.4909 GB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.6261, allocations: 16.69 kB / 0.4909 GB, free: 14.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.6263, allocations: 358.6 kB / 0.4912 GB, free: 14.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.6268, allocations: 151.3 kB / 0.4914 GB, free: 14.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.6273, allocations: 273.4 kB / 0.4916 GB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.6278, allocations: 199.7 kB / 0.4918 GB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6279, allocations: 4 kB / 0.4918 GB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001383/0.6293, allocations: 0.5625 MB / 0.4924 GB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.6293, allocations: 7.938 kB / 0.4924 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6293, allocations: 4 kB / 0.4924 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.6294, allocations: 8 kB / 0.4924 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6306, allocations: 175.6 kB / 0.4926 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.6306, allocations: 11.95 kB / 0.4926 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.6312, allocations: 29.61 kB / 0.4926 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.6312, allocations: 27.44 kB / 0.4926 GB, free: 13.3 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 (97): * Single equations (assignments): 97 * 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.0003306/0.6316, allocations: 176.8 kB / 0.4928 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6317, allocations: 47.44 kB / 0.4928 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.6319, allocations: 58.02 kB / 0.4929 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.6319, allocations: 8.047 kB / 0.4929 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.6319, allocations: 11.98 kB / 0.4929 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.632, allocations: 7.938 kB / 0.4929 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.6352, allocations: 1.446 MB / 0.4943 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6352, allocations: 0 / 0.4943 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6366, allocations: 163.7 kB / 0.4945 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.6366, allocations: 4 kB / 0.4945 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.6367, allocations: 17.94 kB / 0.4945 GB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-05/0.6367, allocations: 15.97 kB / 0.4945 GB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.6367, allocations: 7.953 kB / 0.4945 GB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6386, allocations: 1.039 MB / 0.4956 GB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.6389, allocations: 119.8 kB / 0.4957 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.639, allocations: 17.88 kB / 0.4957 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.6395, allocations: 30.98 kB / 0.4957 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6396, allocations: 44.16 kB / 0.4958 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.6397, allocations: 23.92 kB / 0.4958 GB, free: 10.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.64, allocations: 178.3 kB / 0.4959 GB, free: 10.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.64, allocations: 0 / 0.4959 GB, free: 10.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008648/0.6409, allocations: 146.8 kB / 0.4961 GB, free: 10.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.002698/0.6436, allocations: 2.429 MB / 0.4985 GB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.6449, allocations: 453.2 kB / 0.4989 GB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6449, allocations: 0 / 0.4989 GB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.6455, allocations: 231.7 kB / 0.4991 GB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6467, allocations: 107.9 kB / 0.4992 GB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.6558, allocations: 5.124 MB / 0.5042 GB, free: 2.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.6565, allocations: 0.8625 MB / 0.5051 GB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004254/0.657, allocations: 56.66 kB / 0.5051 GB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.6574, allocations: 166.3 kB / 0.5053 GB, free: 1.438 MB / 346.7 MB Notification: Performance of SimCode: time 6.763e-06/0.6574, allocations: 4 kB / 0.5053 GB, free: 1.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.7032, allocations: 9.014 MB / 0.5141 GB, free: 8.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006387/0.704, allocations: 201.4 kB / 0.5143 GB, free: 8.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.594, allocations: 64 / 0.5143 GB, free: 8.277 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat