Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",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.0009777/0.000978, allocations: 93.56 kB / 17 MB, free: 5.961 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.001046/0.001046, allocations: 180.4 kB / 17.89 MB, free: 5.59 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.339/1.339, allocations: 223.2 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 12.62 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3436/0.4652, allocations: 63.06 MB / 0.5222 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03155/0.4968, allocations: 13.29 MB / 0.5352 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01437/0.5112, allocations: 304 kB / 0.5355 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.5227, allocations: 3.289 MB / 0.5387 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02829/0.551, allocations: 9.658 MB / 0.5481 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.5555, allocations: 0.7973 MB / 0.5489 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08088/0.6364, allocations: 61.95 MB / 0.6094 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.6465, allocations: 6.546 MB / 0.6158 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.6502, allocations: 1.639 MB / 0.6174 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004571/0.6548, allocations: 2.547 MB / 0.6198 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.656, allocations: 176 kB / 0.62 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.659, allocations: 0.9792 MB / 0.621 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.6625, allocations: 2.182 MB / 0.6231 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.6648, allocations: 1.053 MB / 0.6241 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009309/0.6741, allocations: 7.225 MB / 0.6312 GB, free: 1.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6742, allocations: 0 / 0.6312 GB, free: 1.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6742, allocations: 0 / 0.6312 GB, free: 1.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003675/0.6746, allocations: 0 / 0.6312 GB, free: 1.121 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01391/0.6885, allocations: 5.257 MB / 0.6363 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.6886, allocations: 8.031 kB / 0.6363 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002927/0.6915, allocations: 0.8427 MB / 0.6372 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0335/0.725, allocations: 6.132 MB / 0.6431 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.7355, allocations: 4.286 MB / 0.6473 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.7358, allocations: 295.8 kB / 0.6476 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.7378, allocations: 411.8 kB / 0.648 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/0.7635, allocations: 11.33 MB / 0.6591 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003603/0.7639, allocations: 59.44 kB / 0.6591 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/0.7654, allocations: 183.9 kB / 0.6593 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00389/0.7693, allocations: 2.089 MB / 0.6613 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.7895, allocations: 9.409 MB / 0.6705 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3373/1.127, allocations: 44.96 MB / 0.7144 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.137, allocations: 4.019 MB / 0.7184 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/1.141, allocations: 2.226 MB / 0.7205 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/1.154, allocations: 8.969 MB / 0.7293 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.154, allocations: 61.03 kB / 0.7293 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.438e-06/1.154, allocations: 0 / 0.7293 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.03829/1.192, allocations: 17.92 MB / 0.7468 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.193, allocations: 203.4 kB / 0.747 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005881/1.198, allocations: 4.695 MB / 0.7516 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/1.199, allocations: 49.7 kB / 0.7517 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.201, allocations: 3.639 MB / 0.7552 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/1.201, allocations: 0.739 MB / 0.7559 GB, free: 147 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/1.201, allocations: 121.4 kB / 0.7561 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.202, allocations: 0.5665 MB / 0.7566 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.204, allocations: 2.143 MB / 0.7587 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/1.208, allocations: 5.975 MB / 0.7645 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/1.212, allocations: 3.495 MB / 0.768 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.774e-05/1.212, allocations: 40 kB / 0.768 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01354/1.225, allocations: 8.669 MB / 0.7765 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/1.225, allocations: 64.94 kB / 0.7765 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/1.225, allocations: 139.4 kB / 0.7767 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/1.228, allocations: 1.084 MB / 0.7777 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.232, allocations: 1.415 MB / 0.7791 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/1.239, allocations: 8.002 MB / 0.7869 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.243, allocations: 343.4 kB / 0.7872 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006487/1.244, allocations: 388.5 kB / 0.7876 GB, free: 112.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 745 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005124/1.249, allocations: 2.481 MB / 0.79 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.25, allocations: 414.6 kB / 0.7904 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008585/1.259, allocations: 3.429 MB / 0.7938 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.821e-05/1.259, allocations: 20 kB / 0.7938 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.259, allocations: 8 kB / 0.7938 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/1.259, allocations: 7.969 kB / 0.7938 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.28, allocations: 8.894 MB / 0.8025 GB, free: 97.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.28, allocations: 4 kB / 0.8025 GB, free: 97.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.282, allocations: 291.6 kB / 0.8028 GB, free: 97.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.286, allocations: 0.8506 MB / 0.8036 GB, free: 96.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/1.286, allocations: 28 kB / 0.8036 GB, free: 96.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.297, allocations: 7.344 MB / 0.8108 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.297, allocations: 4 kB / 0.8108 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.308, allocations: 5.957 MB / 0.8166 GB, free: 82.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.31, allocations: 459.5 kB / 0.8171 GB, free: 82.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/1.311, allocations: 32 kB / 0.8171 GB, free: 82.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.313, allocations: 100.4 kB / 0.8172 GB, free: 82.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.313, allocations: 118.4 kB / 0.8173 GB, free: 82.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.313, allocations: 44 kB / 0.8173 GB, free: 82.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004568/1.318, allocations: 2.966 MB / 0.8202 GB, free: 79.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/1.318, allocations: 0 / 0.8202 GB, free: 79.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005241/1.323, allocations: 1.137 MB / 0.8214 GB, free: 77.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (141): * Single equations (assignments): 136 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008216/1.331, allocations: 6.606 MB / 0.8278 GB, free: 71.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008404/1.34, allocations: 5.436 MB / 0.8331 GB, free: 65.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.34, allocations: 0 / 0.8331 GB, free: 65.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.343, allocations: 1.847 MB / 0.8349 GB, free: 64.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.347, allocations: 0.5613 MB / 0.8355 GB, free: 63.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0664/1.414, allocations: 40.94 MB / 0.8754 GB, free: 18.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004844/1.419, allocations: 3.861 MB / 0.8792 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004732/1.424, allocations: 1.996 MB / 0.8812 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003278/1.427, allocations: 2.343 MB / 0.8835 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/1.427, allocations: 0 / 0.8835 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6668/2.094, allocations: 89.56 MB / 0.9709 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/2.094, allocations: 206.3 kB / 0.9711 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.394/6.488, allocations: 0.875 kB / 0.9711 GB, free: 183.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat