Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002486/0.002486, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 89.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3001/0.3001, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.976e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.6067, allocations: 85.37 MB / 0.5494 GB, free: 13.92 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.607, allocations: 63.97 kB / 0.5494 GB, free: 13.86 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03018/0.6372, allocations: 7.055 MB / 0.5563 GB, free: 6.797 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6372, allocations: 0 / 0.5563 GB, free: 6.797 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.6373, allocations: 8 kB / 0.5563 GB, free: 6.789 MB / 395.1 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.001381/0.6386, allocations: 0.6085 MB / 0.5569 GB, free: 6.137 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6387, allocations: 8.031 kB / 0.5569 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6389, allocations: 51.44 kB / 0.557 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.6392, allocations: 226.6 kB / 0.5572 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.6393, allocations: 16 kB / 0.5572 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6394, allocations: 35.91 kB / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009827/0.6404, allocations: 214.6 kB / 0.5574 GB, free: 5.555 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6419, allocations: 380.2 kB / 0.5578 GB, free: 5.148 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.599e-05/0.6421, allocations: 7.906 kB / 0.5578 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.6421, allocations: 4 kB / 0.5578 GB, free: 5.137 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.6422, allocations: 15.95 kB / 0.5578 GB, free: 5.121 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.6475, allocations: 1.614 MB / 0.5594 GB, free: 3.438 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6487, allocations: 383.5 kB / 0.5598 GB, free: 2.98 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.6492, allocations: 139.7 kB / 0.5599 GB, free: 2.816 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.6492, allocations: 7.938 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.6493, allocations: 46.5 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of pre-optimization done (n=42): time 8.136e-06/0.6494, allocations: 0 / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=42): time 0.001414/0.6508, allocations: 244.8 kB / 0.5602 GB, free: 2.512 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.6511, allocations: 277.1 kB / 0.5604 GB, free: 2.18 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.6516, allocations: 198.3 kB / 0.5606 GB, free: 1.98 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.6517, allocations: 25.7 kB / 0.5607 GB, free: 1.949 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.652, allocations: 305.9 kB / 0.561 GB, free: 1.648 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.6523, allocations: 177.5 kB / 0.5611 GB, free: 1.473 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.6524, allocations: 0 / 0.5611 GB, free: 1.473 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0004061/0.6528, allocations: 334.8 kB / 0.5614 GB, free: 1.137 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.6533, allocations: 101.6 kB / 0.5615 GB, free: 1.039 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.6541, allocations: 385.9 kB / 0.5619 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.6548, allocations: 167.9 kB / 0.5621 GB, free: 368 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.6549, allocations: 4 kB / 0.5621 GB, free: 364 kB / 395.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001947/0.6568, allocations: 477.6 kB / 0.5625 GB, free: 15.88 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.657, allocations: 12 kB / 0.5625 GB, free: 15.87 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.657, allocations: 8 kB / 0.5625 GB, free: 15.86 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.915e-05/0.6571, allocations: 16 kB / 0.5626 GB, free: 15.85 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.6588, allocations: 179.7 kB / 0.5627 GB, free: 15.67 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-05/0.6589, allocations: 19.94 kB / 0.5628 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.6598, allocations: 47.38 kB / 0.5628 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6599, allocations: 32 kB / 0.5628 GB, free: 15.57 MB / 411.1 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.0002685/0.6602, allocations: 136.8 kB / 0.563 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001395/0.6616, allocations: 257.4 kB / 0.5632 GB, free: 15.18 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.6621, allocations: 31.62 kB / 0.5632 GB, free: 15.14 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6623, allocations: 41.83 kB / 0.5633 GB, free: 15.11 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.6624, allocations: 4 kB / 0.5633 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.6624, allocations: 4 kB / 0.5633 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.6624, allocations: 3.984 kB / 0.5633 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.665, allocations: 358.2 kB / 0.5636 GB, free: 14.71 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.665, allocations: 4 kB / 0.5636 GB, free: 14.7 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.667, allocations: 128 kB / 0.5638 GB, free: 14.58 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.6671, allocations: 4 kB / 0.5638 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.6672, allocations: 4.25 kB / 0.5638 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.6672, allocations: 7.938 kB / 0.5638 GB, free: 14.56 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-05/0.6673, allocations: 8 kB / 0.5638 GB, free: 14.55 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.6691, allocations: 1.135 MB / 0.5649 GB, free: 13.34 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.6694, allocations: 112.7 kB / 0.565 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.6696, allocations: 4 kB / 0.565 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6707, allocations: 4 kB / 0.565 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6709, allocations: 35.86 kB / 0.565 GB, free: 13.17 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.671, allocations: 19.98 kB / 0.5651 GB, free: 13.15 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0003434/0.6713, allocations: 146 kB / 0.5652 GB, free: 13.01 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6714, allocations: 4 kB / 0.5652 GB, free: 13 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.002189/0.6736, allocations: 123.5 kB / 0.5653 GB, free: 12.88 MB / 411.1 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.002711/0.6764, allocations: 2.221 MB / 0.5675 GB, free: 10.6 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.6778, allocations: 301.4 kB / 0.5678 GB, free: 10.31 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/0.6778, allocations: 0 / 0.5678 GB, free: 10.31 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.6783, allocations: 115.8 kB / 0.5679 GB, free: 10.2 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6805, allocations: 69.8 kB / 0.5679 GB, free: 10.13 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/0.6891, allocations: 2.134 MB / 0.57 GB, free: 7.918 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.6901, allocations: 0.8392 MB / 0.5708 GB, free: 7.055 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.6906, allocations: 143.4 kB / 0.571 GB, free: 6.914 MB / 411.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6906, allocations: 0 / 0.571 GB, free: 6.914 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/3.308, allocations: 6.689 MB / 0.5775 GB, free: 244 kB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat