Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008056/0.0008058, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009052/0.0009054, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.19 MB / 345.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 63.56 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3044/0.4334, allocations: 63.91 MB / 0.5342 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03375/0.4673, allocations: 13.09 MB / 0.547 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01533/0.4826, allocations: 289.9 kB / 0.5472 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4845, allocations: 0.4914 MB / 0.5477 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.4906, allocations: 2.026 MB / 0.5497 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4933, allocations: 0.848 MB / 0.5505 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.506, allocations: 8.806 MB / 0.5591 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.5171, allocations: 7.322 MB / 0.5663 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.5206, allocations: 1.513 MB / 0.5678 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.5248, allocations: 2.53 MB / 0.5702 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009919/0.5259, allocations: 176 kB / 0.5704 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.5287, allocations: 1.123 MB / 0.5715 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003027/0.5317, allocations: 2.166 MB / 0.5736 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004194/0.536, allocations: 2.463 MB / 0.576 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009837/0.5458, allocations: 8.401 MB / 0.5842 GB, free: 15.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5459, allocations: 4 kB / 0.5842 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5459, allocations: 0 / 0.5842 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002543/0.5461, allocations: 0 / 0.5842 GB, free: 15.05 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01119/0.5573, allocations: 4.986 MB / 0.5891 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5574, allocations: 12.88 kB / 0.5891 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.5699, allocations: 2.646 MB / 0.5917 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/0.5782, allocations: 3.738 MB / 0.5953 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.5785, allocations: 300.1 kB / 0.5956 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.5799, allocations: 431.9 kB / 0.596 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.6006, allocations: 11.57 MB / 0.6073 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.6007, allocations: 51.5 kB / 0.6074 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005073/0.6013, allocations: 191.8 kB / 0.6076 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/0.6046, allocations: 2.026 MB / 0.6095 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.6248, allocations: 9.965 MB / 0.6193 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07078/0.6956, allocations: 45.56 MB / 0.6638 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.7079, allocations: 4.37 MB / 0.668 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/0.7118, allocations: 2.475 MB / 0.6705 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.7296, allocations: 9.836 MB / 0.6801 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.7297, allocations: 47.56 kB / 0.6801 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 4.779e-06/0.7297, allocations: 0 / 0.6801 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.06407/0.7938, allocations: 19.95 MB / 0.6996 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.794, allocations: 201.2 kB / 0.6998 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008821/0.8028, allocations: 4.693 MB / 0.7044 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005432/0.8034, allocations: 57.7 kB / 0.7044 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.3161/1.119, allocations: 3.557 MB / 0.7079 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.121, allocations: 0.7601 MB / 0.7086 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.122, allocations: 0.5645 MB / 0.7092 GB, free: 181 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/1.122, allocations: 303.4 kB / 0.7095 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.127, allocations: 2.412 MB / 0.7118 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006949/1.134, allocations: 6.259 MB / 0.7179 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.147, allocations: 9.31 MB / 0.727 GB, free: 167 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002461/1.148, allocations: 38.88 kB / 0.7271 GB, free: 167 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02477/1.172, allocations: 9.78 MB / 0.7366 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.173, allocations: 66.75 kB / 0.7367 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/1.173, allocations: 133.1 kB / 0.7368 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/1.178, allocations: 1.609 MB / 0.7384 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/1.183, allocations: 1.484 MB / 0.7398 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.194, allocations: 9.557 MB / 0.7492 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/1.199, allocations: 368.6 kB / 0.7495 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009903/1.2, allocations: 395.5 kB / 0.7499 GB, free: 156.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (793): * Single equations (assignments): 788 * 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 {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004555/1.205, allocations: 2.459 MB / 0.7523 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009627/1.206, allocations: 406.8 kB / 0.7527 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007729/1.214, allocations: 4.247 MB / 0.7568 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/1.214, allocations: 24 kB / 0.7569 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.214, allocations: 8 kB / 0.7569 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.214, allocations: 11.95 kB / 0.7569 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.231, allocations: 9.727 MB / 0.7664 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.231, allocations: 6.688 kB / 0.7664 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.232, allocations: 299.5 kB / 0.7667 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/1.236, allocations: 1.355 MB / 0.768 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/1.236, allocations: 43.92 kB / 0.768 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009022/1.245, allocations: 8.738 MB / 0.7766 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.245, allocations: 4 kB / 0.7766 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009522/1.255, allocations: 6.987 MB / 0.7834 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.256, allocations: 463.6 kB / 0.7838 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005037/1.256, allocations: 37.31 kB / 0.7839 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.258, allocations: 119.8 kB / 0.784 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/1.258, allocations: 130.2 kB / 0.7841 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.259, allocations: 53.16 kB / 0.7842 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003561/1.262, allocations: 2.96 MB / 0.787 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.262, allocations: 0 / 0.787 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005339/1.267, allocations: 1.181 MB / 0.7882 GB, free: 117.5 MB / 0.5294 GB 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 (147): * Single equations (assignments): 142 * 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.0004029/1.268, allocations: 164.5 kB / 0.7884 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008552/1.276, allocations: 5.966 MB / 0.7942 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.277, allocations: 0 / 0.7942 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002711/1.279, allocations: 2.015 MB / 0.7961 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.283, allocations: 0.5019 MB / 0.7966 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.301, allocations: 13.64 MB / 0.81 GB, free: 95.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/1.305, allocations: 3.811 MB / 0.8137 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00448/1.309, allocations: 1.991 MB / 0.8156 GB, free: 89.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/1.31, allocations: 267.4 kB / 0.8159 GB, free: 89.01 MB / 0.5294 GB Notification: Performance of SimCode: time 1.994e-06/1.31, allocations: 3.938 kB / 0.8159 GB, free: 89.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.07182/1.382, allocations: 42.78 MB / 0.8577 GB, free: 46.41 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches