Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 99.97 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3738/0.3738, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003005, allocations: 7.984 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3501, allocations: 63.24 MB / 0.5193 GB, free: 43.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4655, allocations: 88.35 MB / 0.6055 GB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4658, allocations: 75.92 kB / 0.6056 GB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01953/0.4853, allocations: 7.27 MB / 0.6127 GB, free: 9.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4854, allocations: 8 kB / 0.6127 GB, free: 9.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.4854, allocations: 8 kB / 0.6127 GB, free: 9.863 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009801/0.4864, allocations: 0.6289 MB / 0.6133 GB, free: 9.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4864, allocations: 12.03 kB / 0.6133 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.4866, allocations: 86.52 kB / 0.6134 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/0.4867, allocations: 55.69 kB / 0.6135 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4869, allocations: 219.3 kB / 0.6137 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.4869, allocations: 44.92 kB / 0.6137 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.487, allocations: 51.91 kB / 0.6138 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.4878, allocations: 458 kB / 0.6142 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.4878, allocations: 15.89 kB / 0.6142 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4878, allocations: 16 kB / 0.6143 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.4879, allocations: 15.95 kB / 0.6143 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.4883, allocations: 255.7 kB / 0.6145 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.4907, allocations: 1.707 MB / 0.6162 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.4912, allocations: 412 kB / 0.6166 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.4913, allocations: 7.953 kB / 0.6166 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.4913, allocations: 55.05 kB / 0.6166 GB, free: 5.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 3.155e-06/0.4913, allocations: 0 / 0.6166 GB, free: 5.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007487/0.4921, allocations: 353.4 kB / 0.617 GB, free: 5.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.4922, allocations: 269 kB / 0.6172 GB, free: 4.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.4925, allocations: 221.8 kB / 0.6174 GB, free: 4.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.4925, allocations: 33.7 kB / 0.6175 GB, free: 4.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4927, allocations: 243.6 kB / 0.6177 GB, free: 4.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.4928, allocations: 173.5 kB / 0.6179 GB, free: 4.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.4928, allocations: 16 kB / 0.6179 GB, free: 4.195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.493, allocations: 346.8 kB / 0.6182 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4932, allocations: 121.9 kB / 0.6183 GB, free: 3.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.4936, allocations: 409.6 kB / 0.6187 GB, free: 3.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.4939, allocations: 183.9 kB / 0.6189 GB, free: 3.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4939, allocations: 4 kB / 0.6189 GB, free: 3.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008214/0.4947, allocations: 0.5653 MB / 0.6195 GB, free: 2.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4948, allocations: 13.98 kB / 0.6195 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4948, allocations: 12 kB / 0.6195 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.4948, allocations: 20.11 kB / 0.6195 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.4954, allocations: 179.7 kB / 0.6197 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.4954, allocations: 23.92 kB / 0.6197 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.4957, allocations: 67.28 kB / 0.6198 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.4957, allocations: 28 kB / 0.6198 GB, free: 2.102 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002118/0.496, allocations: 193.6 kB / 0.62 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.4962, allocations: 39.56 kB / 0.62 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-05/0.4963, allocations: 49.64 kB / 0.62 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4963, allocations: 4 kB / 0.6201 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4963, allocations: 4 kB / 0.6201 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4963, allocations: 4 kB / 0.6201 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.4973, allocations: 409.2 kB / 0.6205 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4973, allocations: 7.984 kB / 0.6205 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.4979, allocations: 123.9 kB / 0.6206 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4979, allocations: 4 kB / 0.6206 GB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.498, allocations: 16 kB / 0.6206 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.498, allocations: 15.88 kB / 0.6206 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.498, allocations: 4 kB / 0.6206 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.499, allocations: 1.167 MB / 0.6218 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.4991, allocations: 120.6 kB / 0.6219 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.4991, allocations: 12 kB / 0.6219 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.4995, allocations: 11.94 kB / 0.6219 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.4996, allocations: 31.95 kB / 0.6219 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4996, allocations: 8 kB / 0.6219 GB, free: 15.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.4998, allocations: 170 kB / 0.6221 GB, free: 15.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4998, allocations: 4 kB / 0.6221 GB, free: 15.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.5006, allocations: 135.7 kB / 0.6222 GB, free: 15.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0014/0.502, allocations: 2.278 MB / 0.6244 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.5026, allocations: 332.7 kB / 0.6248 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5026, allocations: 4 kB / 0.6248 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5028, allocations: 128.1 kB / 0.6249 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.5036, allocations: 84 kB / 0.625 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.5113, allocations: 10.48 MB / 0.6352 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.5119, allocations: 0.8376 MB / 0.636 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.5122, allocations: 48.16 kB / 0.6361 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5124, allocations: 139.4 kB / 0.6362 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5124, allocations: 8 kB / 0.6362 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.533, allocations: 7.482 MB / 0.6435 GB, free: 9.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.5332, allocations: 191.5 kB / 0.6437 GB, free: 9.258 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.775, allocations: 0 / 0.6437 GB, free: 9.258 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat