Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 200.6 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2243/0.2243, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 75.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3394, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01595/0.3554, allocations: 13.42 MB / 0.5437 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.366, allocations: 4.532 MB / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.369, allocations: 93.41 kB / 0.5482 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00817/0.3773, allocations: 4.179 MB / 0.5523 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.3838, allocations: 2.128 MB / 0.5544 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3862, allocations: 0.9243 MB / 0.5553 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009102/0.3953, allocations: 6.077 MB / 0.5612 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006813/0.4021, allocations: 5.169 MB / 0.5663 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.4061, allocations: 2.099 MB / 0.5683 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.4107, allocations: 2.804 MB / 0.5711 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.4122, allocations: 464 kB / 0.5715 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.4155, allocations: 1.334 MB / 0.5728 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.4187, allocations: 2.498 MB / 0.5752 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004677/0.4234, allocations: 2.89 MB / 0.5781 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4363, allocations: 9.173 MB / 0.587 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4364, allocations: 0 / 0.587 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4364, allocations: 0 / 0.587 GB, free: 7.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002725/0.4366, allocations: 4 kB / 0.587 GB, free: 7.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.0162/0.4529, allocations: 6.406 MB / 0.5933 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.4529, allocations: 12.03 kB / 0.5933 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00219/0.4551, allocations: 0.8304 MB / 0.5941 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/0.4953, allocations: 6.082 MB / 0.6 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.5049, allocations: 4.225 MB / 0.6042 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.5052, allocations: 304.1 kB / 0.6045 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.5066, allocations: 403.7 kB / 0.6048 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.5281, allocations: 11.14 MB / 0.6157 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.5283, allocations: 59.52 kB / 0.6158 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007812/0.5291, allocations: 183.9 kB / 0.616 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003694/0.5328, allocations: 2.026 MB / 0.6179 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/0.5521, allocations: 9.272 MB / 0.627 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05912/0.6113, allocations: 44.44 MB / 0.6704 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.622, allocations: 4.007 MB / 0.6743 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.6255, allocations: 2.229 MB / 0.6765 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/0.6414, allocations: 8.972 MB / 0.6852 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.6415, allocations: 51.5 kB / 0.6853 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.569e-06/0.6415, allocations: 0 / 0.6853 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05185/0.6933, allocations: 18.16 MB / 0.703 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.6935, allocations: 197.2 kB / 0.7032 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00701/0.7005, allocations: 4.706 MB / 0.7078 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/0.7009, allocations: 53.7 kB / 0.7079 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/0.704, allocations: 3.728 MB / 0.7115 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.705, allocations: 0.7714 MB / 0.7122 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.7069, allocations: 1.254 MB / 0.7135 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.707, allocations: 309.1 kB / 0.7138 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.7105, allocations: 2.155 MB / 0.7159 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2395/0.95, allocations: 5.967 MB / 0.7217 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008863/0.9589, allocations: 8.824 MB / 0.7303 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/0.9591, allocations: 40.03 kB / 0.7304 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01552/0.9747, allocations: 8.702 MB / 0.7389 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.9748, allocations: 62.44 kB / 0.7389 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/0.975, allocations: 136.8 kB / 0.739 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/0.978, allocations: 1.057 MB / 0.7401 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/0.9822, allocations: 1.413 MB / 0.7415 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008363/0.9906, allocations: 8.573 MB / 0.7498 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/0.9955, allocations: 333.3 kB / 0.7501 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/0.9968, allocations: 380 kB / 0.7505 GB, free: 141.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.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 (747): * Single equations (assignments): 742 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,33,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004177/1.001, allocations: 2.455 MB / 0.7529 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007827/1.002, allocations: 432.1 kB / 0.7533 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005571/1.007, allocations: 3.436 MB / 0.7567 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/1.007, allocations: 20 kB / 0.7567 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.007, allocations: 4 kB / 0.7567 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/1.007, allocations: 11.97 kB / 0.7567 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.021, allocations: 8.797 MB / 0.7653 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.021, allocations: 0 / 0.7653 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.022, allocations: 287.6 kB / 0.7656 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/1.025, allocations: 0.8593 MB / 0.7664 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.025, allocations: 28 kB / 0.7664 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00734/1.033, allocations: 7.923 MB / 0.7742 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.033, allocations: 0 / 0.7742 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007429/1.04, allocations: 5.99 MB / 0.78 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000887/1.041, allocations: 469.1 kB / 0.7805 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/1.042, allocations: 31.59 kB / 0.7805 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.043, allocations: 103.9 kB / 0.7806 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.043, allocations: 117.1 kB / 0.7807 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.044, allocations: 48 kB / 0.7808 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003661/1.047, allocations: 2.981 MB / 0.7837 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.047, allocations: 0 / 0.7837 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00493/1.052, allocations: 1.106 MB / 0.7848 GB, free: 107.4 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007931/1.06, allocations: 6.63 MB / 0.7912 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00732/1.067, allocations: 5.455 MB / 0.7966 GB, free: 95.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.068, allocations: 0 / 0.7966 GB, free: 95.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/1.07, allocations: 1.862 MB / 0.7984 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/1.073, allocations: 0.5582 MB / 0.7989 GB, free: 92.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06803/1.141, allocations: 50.77 MB / 0.8485 GB, free: 36.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.145, allocations: 3.81 MB / 0.8522 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003982/1.149, allocations: 1.984 MB / 0.8542 GB, free: 30.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/1.152, allocations: 2.315 MB / 0.8564 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.143e-06/1.152, allocations: 0 / 0.8564 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/1.303, allocations: 82.62 MB / 0.9371 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.31/29.61, allocations: 11.17 kB / 0.9371 GB, free: 9.77 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)