Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",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.001072/0.001072, allocations: 95.34 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.001409/0.001409, allocations: 177.9 kB / 16.57 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.591/1.591, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3934/0.3934, allocations: 43.55 MB / 314.5 MB, free: 9.012 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.0005735/0.0005737, allocations: 14.97 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3193/0.4583, allocations: 60.13 MB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03889/0.4972, allocations: 14.01 MB / 0.5049 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02014/0.5174, allocations: 302.1 kB / 0.5052 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0139/0.5314, allocations: 3.004 MB / 0.5081 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04025/0.5717, allocations: 8.604 MB / 0.5165 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006668/0.5784, allocations: 0.7955 MB / 0.5173 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04588/0.6243, allocations: 26.83 MB / 0.5435 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.6375, allocations: 6.565 MB / 0.5499 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.6428, allocations: 1.406 MB / 0.5513 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.6479, allocations: 1.838 MB / 0.5531 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.6498, allocations: 192 kB / 0.5532 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.6537, allocations: 0.9597 MB / 0.5542 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003913/0.6576, allocations: 2.1 MB / 0.5562 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002764/0.6604, allocations: 1.092 MB / 0.5573 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.672, allocations: 7.556 MB / 0.5647 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.672, allocations: 0 / 0.5647 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.672, allocations: 0 / 0.5647 GB, free: 3.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004011/0.6724, allocations: 0 / 0.5647 GB, free: 3.234 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01562/0.6881, allocations: 5.555 MB / 0.5701 GB, free: 13.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.6882, allocations: 8.031 kB / 0.5701 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004024/0.6922, allocations: 0.888 MB / 0.571 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04411/0.7363, allocations: 8.036 MB / 0.5788 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.7488, allocations: 4.261 MB / 0.583 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.7492, allocations: 316.1 kB / 0.5833 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002419/0.7517, allocations: 451.5 kB / 0.5837 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/0.7809, allocations: 12.24 MB / 0.5957 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/0.7812, allocations: 55.42 kB / 0.5957 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007132/0.7819, allocations: 199.8 kB / 0.5959 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.7858, allocations: 2.203 MB / 0.5981 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0227/0.8085, allocations: 10.43 MB / 0.6082 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3683/1.177, allocations: 47.17 MB / 0.6543 GB, free: 111.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.189, allocations: 4.479 MB / 0.6587 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/1.206, allocations: 10.14 MB / 0.6686 GB, free: 107.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/1.206, allocations: 53.81 kB / 0.6686 GB, free: 107.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.37e-06/1.206, allocations: 0 / 0.6686 GB, free: 107.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05519/1.261, allocations: 19.85 MB / 0.688 GB, free: 99.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.261, allocations: 201.8 kB / 0.6882 GB, free: 99.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.272, allocations: 5.069 MB / 0.6931 GB, free: 97.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006195/1.272, allocations: 58.81 kB / 0.6932 GB, free: 97.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.276, allocations: 3.762 MB / 0.6969 GB, free: 94.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.277, allocations: 0.8291 MB / 0.6977 GB, free: 93.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/1.278, allocations: 133.4 kB / 0.6978 GB, free: 93.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004195/1.278, allocations: 0.587 MB / 0.6984 GB, free: 93.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/1.282, allocations: 2.335 MB / 0.7007 GB, free: 92.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/1.288, allocations: 6.271 MB / 0.7068 GB, free: 86.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005876/1.294, allocations: 3.75 MB / 0.7105 GB, free: 84.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.294, allocations: 41.09 kB / 0.7105 GB, free: 84.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01947/1.314, allocations: 9.203 MB / 0.7195 GB, free: 80.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.314, allocations: 66.97 kB / 0.7195 GB, free: 79.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.314, allocations: 140 kB / 0.7197 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/1.317, allocations: 1.093 MB / 0.7207 GB, free: 78.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.322, allocations: 1.509 MB / 0.7222 GB, free: 77.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008647/1.331, allocations: 8.407 MB / 0.7304 GB, free: 68.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006309/1.337, allocations: 363.5 kB / 0.7308 GB, free: 68.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.338, allocations: 400 kB / 0.7312 GB, free: 67.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (794): * Single equations (assignments): 789 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005592/1.344, allocations: 2.564 MB / 0.7337 GB, free: 65.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.346, allocations: 438.4 kB / 0.7341 GB, free: 64.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006635/1.352, allocations: 3.888 MB / 0.7379 GB, free: 60.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/1.352, allocations: 24 kB / 0.7379 GB, free: 60.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.352, allocations: 8 kB / 0.7379 GB, free: 60.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/1.352, allocations: 19.89 kB / 0.7379 GB, free: 60.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.371, allocations: 9.782 MB / 0.7475 GB, free: 51.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.371, allocations: 0 / 0.7475 GB, free: 51.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.373, allocations: 351.5 kB / 0.7478 GB, free: 50.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/1.376, allocations: 0.8495 MB / 0.7486 GB, free: 49.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/1.376, allocations: 39.98 kB / 0.7487 GB, free: 49.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007422/1.383, allocations: 7.542 MB / 0.756 GB, free: 42.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.383, allocations: 0 / 0.756 GB, free: 42.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009106/1.392, allocations: 6.763 MB / 0.7627 GB, free: 35.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/1.395, allocations: 0.7726 MB / 0.7634 GB, free: 34.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.396, allocations: 39.28 kB / 0.7634 GB, free: 34.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.398, allocations: 123.8 kB / 0.7636 GB, free: 34.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/1.398, allocations: 133.8 kB / 0.7637 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.399, allocations: 55.98 kB / 0.7637 GB, free: 34.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004803/1.403, allocations: 3.235 MB / 0.7669 GB, free: 30.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.403, allocations: 0 / 0.7669 GB, free: 30.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007296/1.411, allocations: 1.228 MB / 0.7681 GB, free: 29.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.009795/1.421, allocations: 7.644 MB / 0.7756 GB, free: 21.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/1.431, allocations: 5.918 MB / 0.7813 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.431, allocations: 3.938 kB / 0.7813 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/1.435, allocations: 2.073 MB / 0.7834 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.439, allocations: 0.5303 MB / 0.7839 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3612/1.8, allocations: 139.2 MB / 0.9198 GB, free: 77.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004791/1.805, allocations: 4.107 MB / 0.9238 GB, free: 76.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006096/1.811, allocations: 2.102 MB / 0.9259 GB, free: 76.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004161/1.815, allocations: 2.472 MB / 0.9283 GB, free: 74.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/1.815, allocations: 0 / 0.9283 GB, free: 74.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/1.952, allocations: 94.5 MB / 1.021 GB, free: 48 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2344/2.186, allocations: 204.8 kB / 1.021 GB, free: 192.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.919/7.106, allocations: 0 / 1.021 GB, free: 192.4 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat