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.001801/0.001801, allocations: 92.27 kB / 20.96 MB, free: 3.438 MB / 18.57 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.002167/0.002167, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 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.546/1.546, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.3901/0.3901, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 1.924e-06/1.924e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.069e-05, allocations: 2.312 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02374/0.02378, allocations: 16.12 MB / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.03912, allocations: 5.13 MB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/0.04335, allocations: 143.3 kB / 398.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.05542, allocations: 4.949 MB / 403.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.06535, allocations: 3.243 MB / 406.8 MB, free: 5.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.06852, allocations: 1.01 MB / 407.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01517/0.08369, allocations: 9.221 MB / 417 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.09423, allocations: 5.92 MB / 422.9 MB, free: 4.949 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.1059, allocations: 4.444 MB / 427.4 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009046/0.1149, allocations: 4.282 MB / 431.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.1176, allocations: 0.6367 MB / 432.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.1224, allocations: 1.463 MB / 433.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006023/0.1284, allocations: 3.88 MB / 437.7 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005749/0.1341, allocations: 2.395 MB / 440 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2275/0.3616, allocations: 13.54 MB / 453.6 MB, free: 65.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3616, allocations: 0 / 453.6 MB, free: 65.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3616, allocations: 2.969 kB / 453.6 MB, free: 65.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007187/0.3623, allocations: 0 / 453.6 MB, free: 65.64 MB / 410.7 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.03143/0.3937, allocations: 8.951 MB / 462.5 MB, free: 62.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3938, allocations: 10.19 kB / 462.6 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02649/0.4203, allocations: 6.667 MB / 469.2 MB, free: 61.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.4342, allocations: 4.876 MB / 474.1 MB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/0.4348, allocations: 441.3 kB / 474.5 MB, free: 60.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/0.4383, allocations: 0.5712 MB / 475.1 MB, free: 60.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04663/0.4849, allocations: 19.99 MB / 495.1 MB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005205/0.4854, allocations: 79.67 kB / 495.2 MB, free: 52.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/0.4888, allocations: 275.5 kB / 495.4 MB, free: 52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006586/0.4954, allocations: 4.181 MB / 499.6 MB, free: 51.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04145/0.5368, allocations: 17.69 MB / 0.5052 GB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/0.6523, allocations: 68.49 MB / 0.5721 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/0.6718, allocations: 6.734 MB / 0.5787 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00973/0.6816, allocations: 4.892 MB / 0.5834 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/0.6819, allocations: 70.52 kB / 0.5835 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.682, allocations: 72.75 kB / 0.5836 GB, free: 8.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=430): time 1.071e-05/0.682, allocations: 0 / 0.5836 GB, free: 8.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=477): time 0.3318/1.014, allocations: 50.54 MB / 0.6329 GB, free: 143.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.014, allocations: 226.2 kB / 0.6331 GB, free: 143.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.025, allocations: 6.292 MB / 0.6393 GB, free: 140.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001196/1.026, allocations: 89.09 kB / 0.6394 GB, free: 140.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003078/1.029, allocations: 5.673 MB / 0.6449 GB, free: 136.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00236/1.031, allocations: 1.796 MB / 0.6467 GB, free: 134.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003274/1.034, allocations: 2.229 MB / 0.6488 GB, free: 133.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/1.035, allocations: 304.9 kB / 0.6491 GB, free: 133.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006499/1.041, allocations: 5.246 MB / 0.6542 GB, free: 131.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00938/1.05, allocations: 11.33 MB / 0.6653 GB, free: 122.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/1.069, allocations: 17.84 MB / 0.6827 GB, free: 103.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002478/1.069, allocations: 63.19 kB / 0.6828 GB, free: 103.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1479) (initialization): time 0.03528/1.104, allocations: 19.48 MB / 0.7018 GB, free: 83.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/1.105, allocations: 96 kB / 0.7019 GB, free: 83.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002971/1.105, allocations: 208.9 kB / 0.7021 GB, free: 83.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009682/1.115, allocations: 3.572 MB / 0.7056 GB, free: 79.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009464/1.124, allocations: 2.581 MB / 0.7081 GB, free: 77.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.144, allocations: 19.55 MB / 0.7272 GB, free: 57.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/1.155, allocations: 0.7557 MB / 0.728 GB, free: 56.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00285/1.158, allocations: 0.6171 MB / 0.7286 GB, free: 56.01 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 950 * 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 (1353): * Single equations (assignments): 1340 * 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,42,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01026/1.168, allocations: 4.073 MB / 0.7325 GB, free: 51.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00226/1.171, allocations: 0.6979 MB / 0.7332 GB, free: 51.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/1.189, allocations: 11.34 MB / 0.7443 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/1.189, allocations: 83.98 kB / 0.7444 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.053e-05/1.189, allocations: 8 kB / 0.7444 GB, free: 39.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.644e-05/1.189, allocations: 23.92 kB / 0.7444 GB, free: 39.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04436/1.233, allocations: 21.95 MB / 0.7658 GB, free: 17.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.813e-05/1.233, allocations: 12 kB / 0.7658 GB, free: 17.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004343/1.238, allocations: 0.8423 MB / 0.7667 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009375/1.247, allocations: 3.245 MB / 0.7698 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/1.249, allocations: 79.98 kB / 0.7699 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2549/1.503, allocations: 18.33 MB / 0.7878 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.503, allocations: 15.44 kB / 0.7878 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/1.532, allocations: 17.66 MB / 0.8051 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/1.535, allocations: 0.5649 MB / 0.8056 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.536, allocations: 81.97 kB / 0.8057 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.54, allocations: 408.9 kB / 0.8061 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.541, allocations: 298.4 kB / 0.8064 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/1.541, allocations: 127 kB / 0.8065 GB, free: 123.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006048/1.547, allocations: 3.648 MB / 0.8101 GB, free: 122.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.547, allocations: 0 / 0.8101 GB, free: 122.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01363/1.561, allocations: 2.184 MB / 0.8122 GB, free: 122.4 MB / 474.7 MB 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 (358): * Single equations (assignments): 345 * 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,39,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.001299/1.562, allocations: 253.1 kB / 0.8124 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01874/1.581, allocations: 12.28 MB / 0.8244 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.581, allocations: 0 / 0.8244 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007257/1.588, allocations: 4.947 MB / 0.8293 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/1.593, allocations: 0.6672 MB / 0.8299 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.623, allocations: 20.76 MB / 0.8502 GB, free: 94.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006432/1.63, allocations: 5.447 MB / 0.8555 GB, free: 89.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008037/1.638, allocations: 3.932 MB / 0.8593 GB, free: 85.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.639, allocations: 416.4 kB / 0.8597 GB, free: 84.93 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/1.639, allocations: 0 / 0.8597 GB, free: 84.93 MB / 474.7 MB Notification: Performance of Templates: time 0.1028/1.742, allocations: 70.41 MB / 0.9285 GB, free: 15.23 MB / 474.7 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.233349150978029]