Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 230.7 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 96.44 kB / 281.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.679e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1569, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.65, allocations: 95.62 MB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.6504, allocations: 71.97 kB / 0.5882 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2367/0.8872, allocations: 90.7 MB / 0.6768 GB, free: 5.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8872, allocations: 0 / 0.6768 GB, free: 5.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002502/0.8875, allocations: 96 kB / 0.6769 GB, free: 5.176 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06448/0.952, allocations: 9.667 MB / 0.6863 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.583e-05/0.9521, allocations: 11.98 kB / 0.6863 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.963, allocations: 2.079 MB / 0.6884 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/0.9731, allocations: 3.41 MB / 0.6917 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.9735, allocations: 148 kB / 0.6918 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/0.9768, allocations: 283.8 kB / 0.6921 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01989/0.9967, allocations: 9.677 MB / 0.7016 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4077/1.404, allocations: 13.17 MB / 0.7144 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002911/1.405, allocations: 64.91 kB / 0.7145 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.406, allocations: 30.75 kB / 0.7145 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003109/1.409, allocations: 1.117 MB / 0.7156 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08414/1.493, allocations: 53.48 MB / 0.7678 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008703/1.502, allocations: 6.566 MB / 0.7742 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/1.506, allocations: 2.762 MB / 0.7769 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008568/1.514, allocations: 6.438 MB / 0.7832 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/1.514, allocations: 53.53 kB / 0.7833 GB, free: 81.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 4.299e-06/1.514, allocations: 3.906 kB / 0.7833 GB, free: 81.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.003823/1.518, allocations: 2.585 MB / 0.7858 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.518, allocations: 150.7 kB / 0.7859 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006402/1.525, allocations: 3.732 MB / 0.7896 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.525, allocations: 29.61 kB / 0.7896 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002249/1.527, allocations: 3.642 MB / 0.7932 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.529, allocations: 0.7023 MB / 0.7939 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/1.529, allocations: 0 / 0.7939 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004331/1.529, allocations: 0.5991 MB / 0.7944 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.532, allocations: 2.073 MB / 0.7965 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004776/1.537, allocations: 6.436 MB / 0.8028 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/1.542, allocations: 3.624 MB / 0.8063 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.542, allocations: 47.78 kB / 0.8063 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0132/1.555, allocations: 7.579 MB / 0.8137 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.556, allocations: 72.59 kB / 0.8138 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002683/1.556, allocations: 161.2 kB / 0.814 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/1.556, allocations: 228.8 kB / 0.8142 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005734/1.562, allocations: 1.666 MB / 0.8158 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003288/1.562, allocations: 302.6 kB / 0.8161 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.569, allocations: 0.7795 MB / 0.8169 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.57, allocations: 450 kB / 0.8173 GB, free: 63.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * Array equations: 3 * 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.002011/1.572, allocations: 499.1 kB / 0.8178 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005257/1.578, allocations: 2.601 MB / 0.8203 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.579, allocations: 371.8 kB / 0.8207 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/1.584, allocations: 2.389 MB / 0.823 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-05/1.584, allocations: 24.81 kB / 0.823 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.584, allocations: 3.812 kB / 0.823 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/1.584, allocations: 18.03 kB / 0.823 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.595, allocations: 3.2 MB / 0.8262 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.596, allocations: 0 / 0.8262 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.598, allocations: 348 kB / 0.8265 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/1.598, allocations: 3.75 kB / 0.8265 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/1.599, allocations: 12.66 kB / 0.8265 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/1.599, allocations: 11.09 kB / 0.8265 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/1.599, allocations: 3.875 kB / 0.8265 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008299/1.607, allocations: 4.697 MB / 0.8311 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.609, allocations: 462.2 kB / 0.8315 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/1.61, allocations: 3.625 kB / 0.8315 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.613, allocations: 39.77 kB / 0.8316 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.613, allocations: 102.1 kB / 0.8317 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.614, allocations: 51.72 kB / 0.8317 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007136/1.621, allocations: 2.499 MB / 0.8342 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/1.621, allocations: 0 / 0.8342 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01003/1.631, allocations: 1.242 MB / 0.8354 GB, free: 55.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * 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.007345/1.638, allocations: 5.494 MB / 0.8408 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007666/1.646, allocations: 4.663 MB / 0.8453 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.646, allocations: 0 / 0.8453 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.648, allocations: 1.225 MB / 0.8465 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.651, allocations: 392.9 kB / 0.8469 GB, free: 45.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.682, allocations: 10.06 MB / 0.8567 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007109/1.689, allocations: 3.675 MB / 0.8603 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007223/1.696, allocations: 2.086 MB / 0.8623 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004531/1.701, allocations: 2.195 MB / 0.8645 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/1.701, allocations: 0 / 0.8645 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/2.191, allocations: 80.26 MB / 0.9429 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/2.191, allocations: 155.5 kB / 0.943 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.745/6.936, allocations: 0 / 0.943 GB, free: 114.6 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat