Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.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.Joints.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.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.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.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001871/0.001871, allocations: 114.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 83.81 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2982, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01839/0.3166, allocations: 18.57 MB / 0.5498 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3279, allocations: 5.31 MB / 0.555 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.3315, allocations: 119.7 kB / 0.5551 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00937/0.3409, allocations: 4.777 MB / 0.5598 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009285/0.3502, allocations: 3.121 MB / 0.5628 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.3531, allocations: 0.9126 MB / 0.5637 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.3649, allocations: 8.417 MB / 0.5719 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008183/0.3731, allocations: 6.41 MB / 0.5782 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.3776, allocations: 2.928 MB / 0.5811 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.3831, allocations: 3.952 MB / 0.5849 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.3851, allocations: 0.6211 MB / 0.5855 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.3887, allocations: 1.455 MB / 0.5869 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004195/0.3929, allocations: 3.635 MB / 0.5905 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006809/0.3998, allocations: 4.221 MB / 0.5946 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.4163, allocations: 13.49 MB / 0.6078 GB, free: 3.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4163, allocations: 0 / 0.6078 GB, free: 3.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4163, allocations: 4 kB / 0.6078 GB, free: 3.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005486/0.4169, allocations: 0 / 0.6078 GB, free: 3.496 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: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.01952/0.4364, allocations: 8.974 MB / 0.6166 GB, free: 10.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4365, allocations: 8.031 kB / 0.6166 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/0.4559, allocations: 5.482 MB / 0.6219 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009972/0.4659, allocations: 4.939 MB / 0.6267 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.4663, allocations: 435.5 kB / 0.6272 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/0.4686, allocations: 0.571 MB / 0.6277 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0329/0.5015, allocations: 19.85 MB / 0.6471 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002905/0.5019, allocations: 71.39 kB / 0.6472 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/0.5037, allocations: 275.7 kB / 0.6474 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006133/0.5098, allocations: 4.168 MB / 0.6515 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/0.5409, allocations: 17.65 MB / 0.6687 GB, free: 3.859 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4987/1.04, allocations: 73.3 MB / 0.7403 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/1.052, allocations: 7.94 MB / 0.7481 GB, free: 114 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/1.057, allocations: 5.174 MB / 0.7531 GB, free: 111.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/1.057, allocations: 61.19 kB / 0.7532 GB, free: 111.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/1.057, allocations: 77.97 kB / 0.7533 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=429): time 5.53e-06/1.057, allocations: 0 / 0.7533 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=476): time 0.07786/1.135, allocations: 42.15 MB / 0.7944 GB, free: 82.26 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/1.135, allocations: 226.8 kB / 0.7946 GB, free: 81.99 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006309/1.141, allocations: 6.405 MB / 0.8009 GB, free: 75.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007473/1.142, allocations: 89.7 kB / 0.801 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/1.144, allocations: 5.709 MB / 0.8065 GB, free: 70.43 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.146, allocations: 1.813 MB / 0.8083 GB, free: 68.64 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/1.148, allocations: 2.273 MB / 0.8105 GB, free: 66.36 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/1.148, allocations: 301.1 kB / 0.8108 GB, free: 66.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005257/1.153, allocations: 5.027 MB / 0.8157 GB, free: 61.04 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/1.16, allocations: 11.08 MB / 0.8266 GB, free: 47.11 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/1.176, allocations: 17.44 MB / 0.8436 GB, free: 26.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.176, allocations: 56 kB / 0.8436 GB, free: 26.76 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.02415/1.2, allocations: 17.89 MB / 0.8611 GB, free: 8.836 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/1.2, allocations: 96 kB / 0.8612 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/1.201, allocations: 208 kB / 0.8614 GB, free: 8.539 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/1.205, allocations: 2.354 MB / 0.8637 GB, free: 6.172 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007147/1.213, allocations: 2.562 MB / 0.8662 GB, free: 3.605 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/1.23, allocations: 17.41 MB / 0.8832 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.237, allocations: 0.6595 MB / 0.8839 GB, free: 0.9883 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.239, allocations: 0.6243 MB / 0.8845 GB, free: 376 kB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 955 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1359): * Single equations (assignments): 1346 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007108/1.246, allocations: 4.077 MB / 0.8884 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.248, allocations: 0.6246 MB / 0.8891 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/1.264, allocations: 10.2 MB / 0.899 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.264, allocations: 27.92 kB / 0.899 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.264, allocations: 0 / 0.899 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.265, allocations: 0.6373 MB / 0.8997 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.267, allocations: 71.66 kB / 0.8997 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.269, allocations: 307.5 kB / 0.9 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007588/1.27, allocations: 270.5 kB / 0.9003 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01619/1.286, allocations: 10.15 MB / 0.9102 GB, free: 5.973 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01682/1.303, allocations: 14.18 MB / 0.924 GB, free: 7.734 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004191/1.307, allocations: 3.947 MB / 0.9279 GB, free: 3.777 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006096/1.314, allocations: 3.962 MB / 0.9318 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of Backend: time 3.81e-07/1.314, allocations: 0 / 0.9318 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.327, allocations: 9.07 MB / 0.9406 GB, free: 6.762 MB / 0.6388 GB Notification: Performance of SimCode: time 0.02341/1.351, allocations: 17.56 MB / 0.9578 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of Templates: time 0.809/2.16, allocations: 93.6 MB / 1.049 GB, free: 169.6 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches