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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.001396/0.001396, allocations: 210.6 kB / 22.08 MB, free: 0.9805 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.59/1.59, allocations: 227.4 MB / 252.3 MB, free: 128 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.2332/0.2332, allocations: 46.17 MB / 351.8 MB, free: 14.32 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.Joints.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.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.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.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 76.66 kB / 490.9 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1369, allocations: 62.45 MB / 0.5404 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02163/0.1586, allocations: 18.59 MB / 0.5585 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1716, allocations: 5.307 MB / 0.5637 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.1757, allocations: 119.7 kB / 0.5638 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009745/0.1855, allocations: 4.754 MB / 0.5684 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009381/0.195, allocations: 3.046 MB / 0.5714 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.1978, allocations: 0.9086 MB / 0.5723 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01315/0.211, allocations: 8.431 MB / 0.5805 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00933/0.2204, allocations: 6.409 MB / 0.5868 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.2264, allocations: 2.932 MB / 0.5897 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006771/0.2332, allocations: 3.945 MB / 0.5935 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.2359, allocations: 0.6211 MB / 0.5941 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.2406, allocations: 1.444 MB / 0.5955 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005373/0.246, allocations: 3.631 MB / 0.5991 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00708/0.2531, allocations: 4.213 MB / 0.6032 GB, free: 3.641 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3218/0.575, allocations: 13.49 MB / 0.6164 GB, free: 23.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.575, allocations: 0 / 0.6164 GB, free: 23.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.575, allocations: 3.078 kB / 0.6164 GB, free: 23.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006182/0.5757, allocations: 0 / 0.6164 GB, free: 23.18 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.03155/0.6072, allocations: 8.967 MB / 0.6251 GB, free: 19.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6073, allocations: 9.344 kB / 0.6251 GB, free: 19.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02319/0.6305, allocations: 5.484 MB / 0.6305 GB, free: 19.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.6438, allocations: 4.938 MB / 0.6353 GB, free: 17.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/0.6445, allocations: 439 kB / 0.6357 GB, free: 17.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004165/0.6486, allocations: 0.5712 MB / 0.6363 GB, free: 17.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04041/0.6891, allocations: 19.85 MB / 0.6557 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/0.6895, allocations: 60.8 kB / 0.6557 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/0.6925, allocations: 278.8 kB / 0.656 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006197/0.6987, allocations: 4.171 MB / 0.6601 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03894/0.7377, allocations: 17.64 MB / 0.6773 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/0.8612, allocations: 73.31 MB / 0.7489 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/0.8805, allocations: 7.929 MB / 0.7566 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008823/0.8894, allocations: 5.182 MB / 0.7617 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.8898, allocations: 59.2 kB / 0.7618 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/0.8899, allocations: 70.78 kB / 0.7618 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=429): time 9.678e-06/0.89, allocations: 4 kB / 0.7618 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=476): time 0.1256/1.016, allocations: 42.15 MB / 0.803 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/1.016, allocations: 228.2 kB / 0.8032 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/1.032, allocations: 6.405 MB / 0.8095 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.034, allocations: 93.61 kB / 0.8095 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006157/1.04, allocations: 5.698 MB / 0.8151 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00322/1.043, allocations: 1.819 MB / 0.8169 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007163/1.05, allocations: 2.266 MB / 0.8191 GB, free: 476 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.05, allocations: 305.1 kB / 0.8194 GB, free: 168 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009591/1.06, allocations: 5.032 MB / 0.8243 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01657/1.077, allocations: 11.09 MB / 0.8351 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3434/1.42, allocations: 17.42 MB / 0.8521 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.42, allocations: 59.69 kB / 0.8522 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.0352/1.455, allocations: 17.89 MB / 0.8697 GB, free: 208 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.456, allocations: 95.84 kB / 0.8698 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002439/1.456, allocations: 208.1 kB / 0.87 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005953/1.462, allocations: 2.348 MB / 0.8723 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008656/1.47, allocations: 2.564 MB / 0.8748 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/1.488, allocations: 17.43 MB / 0.8918 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009151/1.497, allocations: 0.6578 MB / 0.8924 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002487/1.5, allocations: 0.6227 MB / 0.893 GB, free: 196.5 MB / 0.6387 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.009285/1.509, allocations: 4.069 MB / 0.897 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.51, allocations: 0.6275 MB / 0.8976 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.526, allocations: 10.2 MB / 0.9076 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/1.526, allocations: 94.66 kB / 0.9077 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.526, allocations: 12 kB / 0.9077 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/1.526, allocations: 19.88 kB / 0.9077 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/1.565, allocations: 21.84 MB / 0.929 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/1.565, allocations: 12.97 kB / 0.929 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/1.568, allocations: 0.741 MB / 0.9298 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/1.574, allocations: 2.033 MB / 0.9317 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009544/1.575, allocations: 87.03 kB / 0.9318 GB, free: 159.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/1.59, allocations: 16.19 MB / 0.9476 GB, free: 143.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.59, allocations: 19.88 kB / 0.9477 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.611, allocations: 16.14 MB / 0.9634 GB, free: 126.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.613, allocations: 0.653 MB / 0.9641 GB, free: 126.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/1.615, allocations: 83.98 kB / 0.9641 GB, free: 126.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/1.619, allocations: 310 kB / 0.9644 GB, free: 125.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.62, allocations: 285.9 kB / 0.9647 GB, free: 125.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003586/1.62, allocations: 126.9 kB / 0.9648 GB, free: 125.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006735/1.627, allocations: 3.975 MB / 0.9687 GB, free: 121.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.51e-07/1.627, allocations: 0 / 0.9687 GB, free: 121.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01118/1.638, allocations: 2.006 MB / 0.9707 GB, free: 119.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (359): * Single equations (assignments): 346 * 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 {(3,37,77.8%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/1.64, allocations: 241.1 kB / 0.9709 GB, free: 119.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.657, allocations: 12.36 MB / 0.983 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.657, allocations: 4 kB / 0.983 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006724/1.664, allocations: 4.932 MB / 0.9878 GB, free: 101.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/1.669, allocations: 0.7728 MB / 0.9885 GB, free: 101.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.704, allocations: 21.15 MB / 1.009 GB, free: 79.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009233/1.713, allocations: 5.899 MB / 1.015 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.715, allocations: 0.5072 MB / 1.015 GB, free: 73.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.123e-06/1.715, allocations: 0 / 1.015 GB, free: 73.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.5661/2.282, allocations: 264.8 MB / 1.274 GB, free: 32.98 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.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: 20.16017931397073]