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.0018/0.0018, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002192/0.002192, allocations: 156.9 kB / 24.27 MB, free: 172 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.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.625 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.3505/0.3505, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 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 2.425e-06/2.425e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.546e-05, allocations: 6.25 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01666/0.0167, allocations: 11.8 MB / 389 MB, free: 7.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.02784, allocations: 4.376 MB / 393.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.03042, allocations: 111.4 kB / 393.5 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009326/0.03975, allocations: 4.353 MB / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007096/0.04684, allocations: 2.267 MB / 400.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.04974, allocations: 1.037 MB / 401.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.06046, allocations: 6.87 MB / 408 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008/0.06846, allocations: 4.668 MB / 412.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008174/0.07664, allocations: 3.232 MB / 415.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005741/0.08238, allocations: 3.036 MB / 419 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.08383, allocations: 488 kB / 419.4 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.08719, allocations: 1.303 MB / 420.7 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00398/0.09117, allocations: 2.692 MB / 423.4 MB, free: 4.469 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.09477, allocations: 1.718 MB / 425.2 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.1094, allocations: 9.238 MB / 434.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1094, allocations: 0 / 434.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1094, allocations: 4 kB / 434.4 MB, free: 9.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003534/0.1098, allocations: 0 / 434.4 MB, free: 9.477 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01773/0.1275, allocations: 6.245 MB / 440.6 MB, free: 3.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1276, allocations: 16.03 kB / 440.7 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1662/0.2937, allocations: 3.299 MB / 444 MB, free: 97.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007695/0.3014, allocations: 3.75 MB / 447.7 MB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.3016, allocations: 300.1 kB / 448 MB, free: 96.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.3029, allocations: 433.4 kB / 448.4 MB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.3194, allocations: 11.72 MB / 460.1 MB, free: 90.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.3195, allocations: 58.78 kB / 460.2 MB, free: 90.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004554/0.32, allocations: 191.6 kB / 460.4 MB, free: 90.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00282/0.3228, allocations: 2.032 MB / 462.4 MB, free: 90.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.3407, allocations: 9.988 MB / 472.4 MB, free: 86.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0495/0.3902, allocations: 42.19 MB / 0.5025 GB, free: 54.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009912/0.4002, allocations: 3.813 MB / 0.5063 GB, free: 51.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.4027, allocations: 2.337 MB / 0.5085 GB, free: 49.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/0.4163, allocations: 9.257 MB / 0.5176 GB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.4163, allocations: 57.06 kB / 0.5176 GB, free: 40.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=172): time 4.258e-06/0.4163, allocations: 0 / 0.5176 GB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.0705/0.4868, allocations: 28.3 MB / 0.5453 GB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.4869, allocations: 205.2 kB / 0.5455 GB, free: 11.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006649/0.4936, allocations: 4.581 MB / 0.5499 GB, free: 7.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003597/0.4939, allocations: 57.7 kB / 0.55 GB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.4955, allocations: 3.666 MB / 0.5536 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008572/0.4963, allocations: 0.7869 MB / 0.5543 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002137/0.4985, allocations: 1.318 MB / 0.5556 GB, free: 1.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.4985, allocations: 305.1 kB / 0.5559 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/0.503, allocations: 2.64 MB / 0.5585 GB, free: 14.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00954/0.5126, allocations: 6.492 MB / 0.5648 GB, free: 5.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.5281, allocations: 9.724 MB / 0.5743 GB, free: 10.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/0.5283, allocations: 40 kB / 0.5744 GB, free: 10.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02786/0.5562, allocations: 11.19 MB / 0.5853 GB, free: 15.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.5564, allocations: 67.94 kB / 0.5854 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003111/0.5567, allocations: 144.1 kB / 0.5855 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009846/0.5666, allocations: 2.73 MB / 0.5882 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00666/0.5732, allocations: 1.571 MB / 0.5897 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1934/0.7666, allocations: 12.49 MB / 0.6019 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/0.772, allocations: 455.4 kB / 0.6023 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.7732, allocations: 393.3 kB / 0.6027 GB, free: 123.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 (786): * Single equations (assignments): 781 * 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,33,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004512/0.7777, allocations: 2.441 MB / 0.6051 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/0.779, allocations: 448.7 kB / 0.6055 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.7893, allocations: 5.402 MB / 0.6108 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.7893, allocations: 21.47 kB / 0.6108 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.7894, allocations: 5.875 kB / 0.6108 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/0.7894, allocations: 9.703 kB / 0.6108 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/0.8128, allocations: 10.44 MB / 0.621 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.8128, allocations: 2.859 kB / 0.621 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.8147, allocations: 408.6 kB / 0.6214 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/0.8224, allocations: 2.476 MB / 0.6238 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004028/0.8228, allocations: 33.09 kB / 0.6239 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.8377, allocations: 11.68 MB / 0.6353 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8377, allocations: 4.031 kB / 0.6353 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.854, allocations: 8.573 MB / 0.6437 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.8553, allocations: 399.9 kB / 0.644 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009463/0.8562, allocations: 28.88 kB / 0.6441 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/0.8588, allocations: 215.5 kB / 0.6443 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/0.8594, allocations: 132.9 kB / 0.6444 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/0.8596, allocations: 49.19 kB / 0.6444 GB, free: 109.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005016/0.8646, allocations: 2.727 MB / 0.6471 GB, free: 108.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8646, allocations: 0 / 0.6471 GB, free: 108.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007372/0.872, allocations: 1.379 MB / 0.6485 GB, free: 108.1 MB / 458.7 MB 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 (146): * Single equations (assignments): 141 * 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,29,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.0008314/0.8728, allocations: 178.8 kB / 0.6486 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.8833, allocations: 6.338 MB / 0.6548 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.8833, allocations: 0 / 0.6548 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.8872, allocations: 2.27 MB / 0.657 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/0.8914, allocations: 0.4984 MB / 0.6575 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.9101, allocations: 11.51 MB / 0.6688 GB, free: 94.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005045/0.9151, allocations: 3.293 MB / 0.672 GB, free: 90.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0046/0.9197, allocations: 1.946 MB / 0.6739 GB, free: 88.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.9208, allocations: 256.4 kB / 0.6741 GB, free: 88.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.813e-06/0.9208, allocations: 4 kB / 0.6741 GB, free: 88.67 MB / 458.7 MB Notification: Performance of Templates: time 0.07977/1.001, allocations: 44.92 MB / 0.718 GB, free: 44.28 MB / 458.7 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.546182740945369]