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.001188/0.001188, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006185/0.006185, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 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 0.8765/0.8765, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2654/0.2654, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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 1.833e-06/1.833e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.422e-05, allocations: 5.094 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.1842/0.1842, allocations: 11.8 MB / 455.2 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.19, allocations: 4.362 MB / 459.6 MB, free: 34.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.1908, allocations: 112.1 kB / 459.7 MB, free: 34.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.1938, allocations: 4.284 MB / 464 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.1961, allocations: 2.261 MB / 466.2 MB, free: 31.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.197, allocations: 1.015 MB / 467.3 MB, free: 31.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003456/0.2004, allocations: 6.88 MB / 474.1 MB, free: 28.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.2029, allocations: 4.538 MB / 478.7 MB, free: 26.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.205, allocations: 3.239 MB / 481.9 MB, free: 25.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.2073, allocations: 3.026 MB / 484.9 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.2078, allocations: 481.3 kB / 485.4 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.2094, allocations: 1.299 MB / 486.7 MB, free: 24.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.2112, allocations: 2.679 MB / 489.4 MB, free: 22.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.2127, allocations: 1.708 MB / 491.1 MB, free: 22.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008792/0.2215, allocations: 9.192 MB / 0.4886 GB, free: 18.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2215, allocations: 0 / 0.4886 GB, free: 18.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2215, allocations: 1.156 kB / 0.4886 GB, free: 18.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.2217, allocations: 0 / 0.4886 GB, free: 18.42 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.009084/0.2308, allocations: 6.206 MB / 0.4946 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2308, allocations: 9.688 kB / 0.4946 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/0.237, allocations: 2.71 MB / 0.4973 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.2419, allocations: 3.719 MB / 0.5009 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.242, allocations: 306.2 kB / 0.5012 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005448/0.2426, allocations: 425.8 kB / 0.5016 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.2535, allocations: 11.64 MB / 0.513 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-05/0.2536, allocations: 63.56 kB / 0.513 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.2539, allocations: 183.9 kB / 0.5132 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/0.2559, allocations: 2.025 MB / 0.5152 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.2685, allocations: 9.913 MB / 0.5249 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03615/0.3046, allocations: 41.89 MB / 0.5658 GB, free: 6.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006699/0.3113, allocations: 3.908 MB / 0.5696 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.3134, allocations: 2.307 MB / 0.5718 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009985/0.3233, allocations: 9.054 MB / 0.5807 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3234, allocations: 55.5 kB / 0.5807 GB, free: 7.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 3.887e-06/0.3234, allocations: 0 / 0.5807 GB, free: 7.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.03221/0.3556, allocations: 20.71 MB / 0.601 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.3557, allocations: 209.1 kB / 0.6012 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/0.3603, allocations: 4.602 MB / 0.6057 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.3604, allocations: 57.7 kB / 0.6057 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.362, allocations: 3.682 MB / 0.6093 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/0.3627, allocations: 0.783 MB / 0.6101 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.3639, allocations: 1.322 MB / 0.6114 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.364, allocations: 305.1 kB / 0.6117 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.3663, allocations: 2.406 MB / 0.614 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/0.3708, allocations: 6.298 MB / 0.6202 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007252/0.378, allocations: 9.291 MB / 0.6292 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/0.3781, allocations: 36 kB / 0.6293 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2011/0.5792, allocations: 9.739 MB / 0.6388 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.5792, allocations: 65.52 kB / 0.6388 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.5793, allocations: 133.3 kB / 0.639 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.5815, allocations: 1.61 MB / 0.6405 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.5839, allocations: 1.481 MB / 0.642 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007302/0.5912, allocations: 9.94 MB / 0.6517 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.5942, allocations: 424.8 kB / 0.6521 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.5945, allocations: 388.6 kB / 0.6525 GB, free: 141.4 MB / 0.5261 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.0031/0.5976, allocations: 2.455 MB / 0.6549 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.598, allocations: 388.9 kB / 0.6552 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.6026, allocations: 4.181 MB / 0.6593 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.6026, allocations: 27.86 kB / 0.6593 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6026, allocations: 6.719 kB / 0.6594 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6026, allocations: 11.19 kB / 0.6594 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6126, allocations: 8.441 MB / 0.6676 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6126, allocations: 5.031 kB / 0.6676 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.6134, allocations: 298.4 kB / 0.6679 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.6157, allocations: 1.354 MB / 0.6692 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/0.6158, allocations: 32.98 kB / 0.6692 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007566/0.6234, allocations: 9.153 MB / 0.6782 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6234, allocations: 3.359 kB / 0.6782 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006774/0.6302, allocations: 6.92 MB / 0.6849 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.6308, allocations: 410.5 kB / 0.6853 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.631, allocations: 36.62 kB / 0.6854 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.632, allocations: 180.6 kB / 0.6855 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.6322, allocations: 125 kB / 0.6857 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.6323, allocations: 56.2 kB / 0.6857 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002706/0.635, allocations: 2.74 MB / 0.6884 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.635, allocations: 0 / 0.6884 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003803/0.6388, allocations: 1.334 MB / 0.6897 GB, free: 126.8 MB / 0.5261 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.0003363/0.6391, allocations: 182.7 kB / 0.6899 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004746/0.6438, allocations: 5.74 MB / 0.6955 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6439, allocations: 0 / 0.6955 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6454, allocations: 1.878 MB / 0.6973 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.647, allocations: 0.4893 MB / 0.6978 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.6586, allocations: 11.68 MB / 0.7092 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.661, allocations: 3.283 MB / 0.7124 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/0.6616, allocations: 300.4 kB / 0.7127 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/0.6616, allocations: 0 / 0.7127 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.07352/0.7351, allocations: 113.9 MB / 0.8239 GB, free: 7.805 MB / 0.5417 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/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: 10.138460385613143]