Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_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.001177/0.001177, allocations: 96.36 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 174 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3794/0.3794, allocations: 43.55 MB / 314.5 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1254, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2896/0.415, allocations: 60.06 MB / 0.4911 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03801/0.4531, allocations: 14.01 MB / 0.5048 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02201/0.4752, allocations: 302.5 kB / 0.5051 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01308/0.4883, allocations: 3.006 MB / 0.508 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03931/0.5277, allocations: 8.601 MB / 0.5164 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006124/0.5338, allocations: 0.7951 MB / 0.5172 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04644/0.5803, allocations: 26.79 MB / 0.5434 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01392/0.5943, allocations: 6.533 MB / 0.5497 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.5988, allocations: 1.394 MB / 0.5511 GB, free: 1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.6027, allocations: 1.846 MB / 0.5529 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001384/0.6041, allocations: 188 kB / 0.5531 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.6077, allocations: 0.9598 MB / 0.554 GB, free: 14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004357/0.6121, allocations: 2.096 MB / 0.5561 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.6149, allocations: 1.092 MB / 0.5571 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.6267, allocations: 7.537 MB / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6268, allocations: 0 / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6268, allocations: 0 / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004282/0.6272, allocations: 0 / 0.5645 GB, free: 3.246 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01649/0.6437, allocations: 5.547 MB / 0.5699 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.6438, allocations: 12.03 kB / 0.5699 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003085/0.6469, allocations: 0.88 MB / 0.5708 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04521/0.6921, allocations: 8.028 MB / 0.5786 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.7039, allocations: 4.273 MB / 0.5828 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.7044, allocations: 312 kB / 0.5831 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.7066, allocations: 419.7 kB / 0.5835 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/0.7318, allocations: 11.95 MB / 0.5952 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.732, allocations: 55.53 kB / 0.5952 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005538/0.7325, allocations: 195.8 kB / 0.5954 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.7363, allocations: 2.202 MB / 0.5976 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.7576, allocations: 10.01 MB / 0.6073 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3462/1.104, allocations: 46.73 MB / 0.653 GB, free: 111.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009849/1.114, allocations: 4.257 MB / 0.6571 GB, free: 111 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/1.129, allocations: 9.673 MB / 0.6666 GB, free: 107.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.13, allocations: 60.36 kB / 0.6666 GB, free: 107.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.931e-06/1.13, allocations: 2.969 kB / 0.6666 GB, free: 107.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05391/1.184, allocations: 19.42 MB / 0.6856 GB, free: 99.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.184, allocations: 201.6 kB / 0.6858 GB, free: 99.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/1.193, allocations: 5.063 MB / 0.6907 GB, free: 97.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/1.194, allocations: 51.98 kB / 0.6908 GB, free: 97.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00294/1.197, allocations: 3.759 MB / 0.6945 GB, free: 94.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.199, allocations: 0.8129 MB / 0.6953 GB, free: 94.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/1.199, allocations: 130.1 kB / 0.6954 GB, free: 94.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003601/1.199, allocations: 0.5815 MB / 0.6959 GB, free: 93.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.203, allocations: 2.312 MB / 0.6982 GB, free: 93.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/1.208, allocations: 6.225 MB / 0.7043 GB, free: 87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/1.213, allocations: 3.711 MB / 0.7079 GB, free: 85.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.811e-05/1.213, allocations: 39.81 kB / 0.7079 GB, free: 85.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.0155/1.228, allocations: 9.135 MB / 0.7169 GB, free: 81.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/1.228, allocations: 67.98 kB / 0.7169 GB, free: 81.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/1.229, allocations: 140.6 kB / 0.7171 GB, free: 81.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/1.231, allocations: 1.089 MB / 0.7181 GB, free: 80.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/1.237, allocations: 1.497 MB / 0.7196 GB, free: 78.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009125/1.246, allocations: 8.198 MB / 0.7276 GB, free: 70.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007639/1.253, allocations: 363.4 kB / 0.7279 GB, free: 70.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.255, allocations: 403.1 kB / 0.7283 GB, free: 69.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (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 (788): * Single equations (assignments): 783 * 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.005909/1.261, allocations: 2.573 MB / 0.7308 GB, free: 67.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.262, allocations: 426.5 kB / 0.7312 GB, free: 66.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/1.268, allocations: 3.809 MB / 0.735 GB, free: 62.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.268, allocations: 20 kB / 0.735 GB, free: 62.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.269, allocations: 8 kB / 0.735 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.269, allocations: 7.969 kB / 0.735 GB, free: 62.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.284, allocations: 9.612 MB / 0.7444 GB, free: 53.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.284, allocations: 11.88 kB / 0.7444 GB, free: 53.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.286, allocations: 331.6 kB / 0.7447 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/1.288, allocations: 0.8522 MB / 0.7455 GB, free: 51.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.289, allocations: 32 kB / 0.7456 GB, free: 51.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007464/1.296, allocations: 7.539 MB / 0.7529 GB, free: 44.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.296, allocations: 0 / 0.7529 GB, free: 44.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008994/1.305, allocations: 6.628 MB / 0.7594 GB, free: 37.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/1.308, allocations: 0.7648 MB / 0.7602 GB, free: 36.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000843/1.309, allocations: 39.23 kB / 0.7602 GB, free: 36.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.31, allocations: 123.9 kB / 0.7603 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/1.311, allocations: 129.1 kB / 0.7604 GB, free: 36.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.311, allocations: 59.86 kB / 0.7605 GB, free: 36.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00445/1.315, allocations: 3.231 MB / 0.7636 GB, free: 33.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.315, allocations: 0 / 0.7636 GB, free: 33.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006805/1.322, allocations: 1.216 MB / 0.7648 GB, free: 31.89 MB / 494.1 MB 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 (163): * Single equations (assignments): 158 * 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.009917/1.332, allocations: 7.468 MB / 0.7721 GB, free: 24.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009465/1.342, allocations: 5.828 MB / 0.7778 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.342, allocations: 0 / 0.7778 GB, free: 18.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/1.345, allocations: 2.044 MB / 0.7798 GB, free: 16.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.348, allocations: 0.5241 MB / 0.7803 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3476/1.695, allocations: 138.6 MB / 0.9157 GB, free: 81.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006693/1.702, allocations: 4.111 MB / 0.9197 GB, free: 79.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008854/1.711, allocations: 2.106 MB / 0.9218 GB, free: 79.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005421/1.717, allocations: 2.432 MB / 0.9242 GB, free: 77.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/1.717, allocations: 0 / 0.9242 GB, free: 77.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/1.87, allocations: 94.12 MB / 1.016 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.871, allocations: 212.7 kB / 1.016 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.822/6.693, allocations: 8 kB / 1.016 GB, free: 3.395 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat