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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001691/0.001691, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 85.34 kB / 490.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1123, allocations: 62.45 MB / 0.5404 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01616/0.1285, allocations: 13.5 MB / 0.5535 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1389, allocations: 4.548 MB / 0.558 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.1414, allocations: 87.75 kB / 0.5581 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008238/0.1496, allocations: 4.174 MB / 0.5621 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.1557, allocations: 2.138 MB / 0.5642 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.1581, allocations: 0.936 MB / 0.5651 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009391/0.1675, allocations: 6.119 MB / 0.5711 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00719/0.1747, allocations: 5.207 MB / 0.5762 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.1793, allocations: 2.119 MB / 0.5783 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005003/0.1843, allocations: 2.796 MB / 0.581 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.186, allocations: 472 kB / 0.5814 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.1895, allocations: 1.342 MB / 0.5828 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003394/0.193, allocations: 2.49 MB / 0.5852 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004284/0.1973, allocations: 2.836 MB / 0.588 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.2101, allocations: 9.06 MB / 0.5968 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.2101, allocations: 0 / 0.5968 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2102, allocations: 7.875 kB / 0.5968 GB, free: 10.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002958/0.2105, allocations: 0 / 0.5968 GB, free: 10.19 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01599/0.2265, allocations: 6.231 MB / 0.6029 GB, free: 3.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2265, allocations: 12.03 kB / 0.6029 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.239, allocations: 2.61 MB / 0.6055 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2643/0.5033, allocations: 3.813 MB / 0.6092 GB, free: 54.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.5036, allocations: 306.9 kB / 0.6095 GB, free: 54.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.5053, allocations: 425.3 kB / 0.6099 GB, free: 54.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.528, allocations: 11.55 MB / 0.6212 GB, free: 49.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/0.5283, allocations: 53.98 kB / 0.6212 GB, free: 49.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007648/0.5291, allocations: 186.8 kB / 0.6214 GB, free: 49.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003709/0.5328, allocations: 2.029 MB / 0.6234 GB, free: 48.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.5514, allocations: 9.944 MB / 0.6331 GB, free: 45.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04654/0.598, allocations: 45.42 MB / 0.6774 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.6099, allocations: 4.378 MB / 0.6817 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/0.6138, allocations: 2.475 MB / 0.6841 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01806/0.6319, allocations: 9.865 MB / 0.6938 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.632, allocations: 43.56 kB / 0.6938 GB, free: 15.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=171): time 5.209e-06/0.632, allocations: 0 / 0.6938 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=197): time 0.0604/0.6924, allocations: 20.18 MB / 0.7135 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.6926, allocations: 205.2 kB / 0.7137 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008901/0.7015, allocations: 4.71 MB / 0.7183 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004687/0.702, allocations: 61.64 kB / 0.7184 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003606/0.7056, allocations: 3.688 MB / 0.722 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.7069, allocations: 0.7946 MB / 0.7228 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00326/0.7101, allocations: 1.342 MB / 0.7241 GB, free: 24 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7103, allocations: 309.1 kB / 0.7244 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/0.7147, allocations: 2.403 MB / 0.7267 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008056/0.7228, allocations: 6.252 MB / 0.7328 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.7354, allocations: 9.286 MB / 0.7419 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.7356, allocations: 40 kB / 0.7419 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02086/0.7564, allocations: 9.791 MB / 0.7515 GB, free: 136 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.7566, allocations: 69.66 kB / 0.7515 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002586/0.7569, allocations: 136.9 kB / 0.7517 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004962/0.7619, allocations: 1.611 MB / 0.7532 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/0.767, allocations: 1.478 MB / 0.7547 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.782, allocations: 10.26 MB / 0.7647 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/0.7869, allocations: 359.5 kB / 0.7651 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/0.788, allocations: 396 kB / 0.7654 GB, free: 1.547 MB / 0.545 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.004964/0.793, allocations: 2.457 MB / 0.7678 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.7941, allocations: 429.2 kB / 0.7682 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009566/0.8037, allocations: 4.243 MB / 0.7724 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/0.8038, allocations: 20 kB / 0.7724 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/0.8038, allocations: 11.98 kB / 0.7724 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/0.8039, allocations: 7.969 kB / 0.7724 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/0.8252, allocations: 9.667 MB / 0.7819 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.8253, allocations: 4 kB / 0.7819 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.8269, allocations: 303.5 kB / 0.7822 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004321/0.8312, allocations: 1.356 MB / 0.7835 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003378/0.8316, allocations: 35.98 kB / 0.7835 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.8453, allocations: 9.401 MB / 0.7927 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8454, allocations: 0 / 0.7927 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.8587, allocations: 6.978 MB / 0.7995 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.8601, allocations: 482.1 kB / 0.8 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/0.8612, allocations: 31.91 kB / 0.8 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/0.8633, allocations: 119.8 kB / 0.8001 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/0.8639, allocations: 121 kB / 0.8002 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/0.8641, allocations: 55.98 kB / 0.8003 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005841/0.87, allocations: 2.956 MB / 0.8032 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.1e-07/0.87, allocations: 0 / 0.8032 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006394/0.8764, allocations: 1.187 MB / 0.8043 GB, free: 9.262 MB / 0.5919 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.0006891/0.8771, allocations: 166.9 kB / 0.8045 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.8882, allocations: 5.985 MB / 0.8103 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.8882, allocations: 0 / 0.8103 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003868/0.8921, allocations: 2.004 MB / 0.8123 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/0.8963, allocations: 0.544 MB / 0.8128 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.9212, allocations: 11.71 MB / 0.8243 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006585/0.9278, allocations: 3.8 MB / 0.828 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.9291, allocations: 315.4 kB / 0.8283 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.9291, allocations: 0 / 0.8283 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of Templates: time 0.3828/1.312, allocations: 112.4 MB / 0.9381 GB, free: 133.5 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.875598442042246]