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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 97.03 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008836/0.0008837, allocations: 185.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003436, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3506/0.4767, allocations: 73.52 MB / 0.5323 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04855/0.5253, allocations: 15.65 MB / 0.5476 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02319/0.5486, allocations: 361 kB / 0.5479 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01445/0.5631, allocations: 3.662 MB / 0.5515 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04138/0.6045, allocations: 10.27 MB / 0.5615 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.6098, allocations: 486.3 kB / 0.562 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.6168, allocations: 2.405 MB / 0.5643 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009109/0.626, allocations: 4.512 MB / 0.5687 GB, free: 144 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.6288, allocations: 1.187 MB / 0.5699 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003743/0.6326, allocations: 1.998 MB / 0.5718 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.634, allocations: 188 kB / 0.572 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.6364, allocations: 0.5695 MB / 0.5726 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003078/0.6395, allocations: 1.734 MB / 0.5743 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.6418, allocations: 0.9946 MB / 0.5752 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009632/0.6515, allocations: 6.735 MB / 0.5818 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6515, allocations: 4 kB / 0.5818 GB, free: 2.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6515, allocations: 0 / 0.5818 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003595/0.6519, allocations: 0 / 0.5818 GB, free: 2.695 MB / 414.1 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.08195/0.7339, allocations: 9.669 MB / 0.5913 GB, free: 8.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.734, allocations: 8.031 kB / 0.5913 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004251/0.7382, allocations: 0.8142 MB / 0.5921 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009098/0.7473, allocations: 2.177 MB / 0.5942 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008663/0.756, allocations: 3.147 MB / 0.5973 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.7564, allocations: 291.5 kB / 0.5975 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.7592, allocations: 419.5 kB / 0.5979 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05424/0.8134, allocations: 19.53 MB / 0.617 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/0.8138, allocations: 47.5 kB / 0.6171 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/0.8163, allocations: 175.9 kB / 0.6172 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00589/0.8223, allocations: 2.342 MB / 0.6195 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05332/0.8756, allocations: 22.39 MB / 0.6414 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08778/0.9634, allocations: 52.45 MB / 0.6926 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06428/1.028, allocations: 9.192 MB / 0.7016 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/1.03, allocations: 340.7 kB / 0.7019 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/1.03, allocations: 55.83 kB / 0.702 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.939e-06/1.03, allocations: 4 kB / 0.702 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.4994/1.529, allocations: 16.37 MB / 0.718 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.529, allocations: 152.2 kB / 0.7181 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/1.536, allocations: 4.668 MB / 0.7227 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005899/1.537, allocations: 54.11 kB / 0.7227 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.539, allocations: 3.489 MB / 0.7261 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.541, allocations: 0.8381 MB / 0.7269 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/1.541, allocations: 134.8 kB / 0.7271 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000367/1.541, allocations: 0.5877 MB / 0.7276 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/1.546, allocations: 3.152 MB / 0.7307 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/1.552, allocations: 7.4 MB / 0.7379 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/1.559, allocations: 4.685 MB / 0.7425 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/1.559, allocations: 49.78 kB / 0.7426 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01935/1.579, allocations: 10.55 MB / 0.7529 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.579, allocations: 76.88 kB / 0.7529 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/1.579, allocations: 152 kB / 0.7531 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/1.579, allocations: 227.8 kB / 0.7533 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006399/1.586, allocations: 1.799 MB / 0.7551 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000202/1.586, allocations: 298.3 kB / 0.7553 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/1.592, allocations: 0.9279 MB / 0.7563 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.594, allocations: 0.5116 MB / 0.7568 GB, free: 111 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * 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.004652/1.598, allocations: 2.315 MB / 0.759 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009006/1.599, allocations: 411.5 kB / 0.7594 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005795/1.605, allocations: 4.854 MB / 0.7641 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/1.605, allocations: 24 kB / 0.7642 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.605, allocations: 7.938 kB / 0.7642 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/1.605, allocations: 7.594 kB / 0.7642 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.623, allocations: 11.51 MB / 0.7754 GB, free: 98.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.623, allocations: 8 kB / 0.7754 GB, free: 98.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/1.626, allocations: 0.6052 MB / 0.776 GB, free: 98.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/1.626, allocations: 16 kB / 0.776 GB, free: 98.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/1.626, allocations: 148.2 kB / 0.7762 GB, free: 97.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/1.626, allocations: 22.42 kB / 0.7762 GB, free: 97.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/1.626, allocations: 11.19 kB / 0.7762 GB, free: 97.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009532/1.635, allocations: 9.833 MB / 0.7858 GB, free: 89.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.637, allocations: 0.5095 MB / 0.7863 GB, free: 89.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/1.638, allocations: 46.69 kB / 0.7864 GB, free: 89.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.64, allocations: 88.39 kB / 0.7864 GB, free: 89.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.64, allocations: 236.8 kB / 0.7867 GB, free: 89.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/1.64, allocations: 165.2 kB / 0.7868 GB, free: 88.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00407/1.644, allocations: 2.925 MB / 0.7897 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.644, allocations: 4 kB / 0.7897 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006168/1.65, allocations: 1.368 MB / 0.791 GB, free: 85.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 205 * 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.008431/1.659, allocations: 12.21 MB / 0.803 GB, free: 72.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009193/1.668, allocations: 7.057 MB / 0.8098 GB, free: 66.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/1.668, allocations: 5.969 kB / 0.8098 GB, free: 66.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/1.671, allocations: 2.438 MB / 0.8122 GB, free: 63.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.674, allocations: 0.496 MB / 0.8127 GB, free: 63.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3749/2.049, allocations: 151.9 MB / 0.961 GB, free: 228.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/2.053, allocations: 3.7 MB / 0.9646 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005715/2.059, allocations: 2.31 MB / 0.9669 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003902/2.063, allocations: 2.492 MB / 0.9693 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.934e-06/2.063, allocations: 0 / 0.9693 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/2.217, allocations: 104.4 MB / 1.071 GB, free: 121.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/2.218, allocations: 189.4 kB / 1.072 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.278/7.495, allocations: 3.938 kB / 1.072 GB, free: 121.7 MB / 0.5919 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