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.001035/0.001035, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008666/0.0008667, allocations: 91.12 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.708e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.5867, allocations: 87.61 MB / 0.59 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.587, allocations: 62.72 kB / 0.5901 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.6054, allocations: 7.238 MB / 0.5971 GB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6054, allocations: 0 / 0.5971 GB, free: 8.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.885e-05/0.6055, allocations: 8 kB / 0.5971 GB, free: 8.711 MB / 394.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.0009322/0.6064, allocations: 0.6011 MB / 0.5977 GB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6065, allocations: 8.031 kB / 0.5977 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.6066, allocations: 52.19 kB / 0.5978 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.6068, allocations: 222.7 kB / 0.598 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6068, allocations: 16 kB / 0.598 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.6069, allocations: 39.7 kB / 0.5981 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004028/0.6073, allocations: 205.1 kB / 0.5982 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.6079, allocations: 385.6 kB / 0.5986 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.608, allocations: 15.33 kB / 0.5986 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.608, allocations: 7.938 kB / 0.5986 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6081, allocations: 15.95 kB / 0.5987 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.6102, allocations: 1.616 MB / 0.6002 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.6107, allocations: 375.5 kB / 0.6006 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.611, allocations: 144.3 kB / 0.6007 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.611, allocations: 8 kB / 0.6007 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.611, allocations: 46.06 kB / 0.6008 GB, free: 5.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.6111, allocations: 0 / 0.6008 GB, free: 5.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006253/0.6117, allocations: 241.7 kB / 0.601 GB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.6118, allocations: 268.8 kB / 0.6013 GB, free: 4.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.6121, allocations: 199.2 kB / 0.6015 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.6121, allocations: 29.7 kB / 0.6015 GB, free: 4.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.6123, allocations: 244.1 kB / 0.6017 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.6125, allocations: 170.9 kB / 0.6019 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.6125, allocations: 4 kB / 0.6019 GB, free: 4.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.6128, allocations: 348 kB / 0.6022 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.6129, allocations: 93.69 kB / 0.6023 GB, free: 3.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.6134, allocations: 395.9 kB / 0.6027 GB, free: 3.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.6137, allocations: 165.9 kB / 0.6028 GB, free: 3.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6137, allocations: 4 kB / 0.6028 GB, free: 3.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007595/0.6144, allocations: 488.2 kB / 0.6033 GB, free: 2.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6145, allocations: 8 kB / 0.6033 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.6145, allocations: 16.09 kB / 0.6033 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-05/0.6145, allocations: 16 kB / 0.6033 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.6151, allocations: 186.5 kB / 0.6035 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.6151, allocations: 23.92 kB / 0.6035 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.6154, allocations: 51.28 kB / 0.6036 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.6155, allocations: 31.5 kB / 0.6036 GB, free: 2.391 MB / 394.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 () * 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.0001157/0.6156, allocations: 123.9 kB / 0.6037 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004812/0.6161, allocations: 256.7 kB / 0.604 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6163, allocations: 35.62 kB / 0.604 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.6164, allocations: 39.62 kB / 0.6041 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6164, allocations: 8 kB / 0.6041 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6164, allocations: 0 / 0.6041 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6164, allocations: 7.984 kB / 0.6041 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.6173, allocations: 351.8 kB / 0.6044 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6173, allocations: 0 / 0.6044 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.6178, allocations: 123.3 kB / 0.6045 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6178, allocations: 4 kB / 0.6045 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.6179, allocations: 15.69 kB / 0.6045 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.6179, allocations: 11.92 kB / 0.6046 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6179, allocations: 0 / 0.6046 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.6187, allocations: 1.143 MB / 0.6057 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.6188, allocations: 108.7 kB / 0.6058 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.6189, allocations: 7.438 kB / 0.6058 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.6192, allocations: 4 kB / 0.6058 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.6193, allocations: 31.47 kB / 0.6058 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.6193, allocations: 15.69 kB / 0.6058 GB, free: 200 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.6194, allocations: 145.5 kB / 0.606 GB, free: 76 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6194, allocations: 4 kB / 0.606 GB, free: 72 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007855/0.6202, allocations: 119.7 kB / 0.6061 GB, free: 15.95 MB / 410.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 () * 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.001226/0.6214, allocations: 2.228 MB / 0.6083 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.6219, allocations: 293.9 kB / 0.6085 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6219, allocations: 4.188 kB / 0.6086 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.622, allocations: 112.2 kB / 0.6087 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.6228, allocations: 68.19 kB / 0.6087 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.6258, allocations: 2.096 MB / 0.6108 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.6262, allocations: 0.8392 MB / 0.6116 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.6264, allocations: 47.38 kB / 0.6116 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6266, allocations: 144.3 kB / 0.6118 GB, free: 10.32 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6266, allocations: 0 / 0.6118 GB, free: 10.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.6554, allocations: 6.949 MB / 0.6186 GB, free: 3.434 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.6557, allocations: 160.3 kB / 0.6187 GB, free: 3.234 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.636, allocations: 0 / 0.6187 GB, free: 3.234 MB / 410.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