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.002434/0.002434, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002755/0.002755, allocations: 160.8 kB / 24.27 MB, free: 156 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.569/1.569, allocations: 177 MB / 204.4 MB, free: 5.633 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.346/0.346, allocations: 34.25 MB / 295.2 MB, free: 0.625 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.944e-06/1.944e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.413e-05/4.608e-05, allocations: 4.844 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01935/0.01939, allocations: 13.04 MB / 390.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.03109, allocations: 4.474 MB / 394.7 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.03387, allocations: 111.4 kB / 394.8 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00983/0.0437, allocations: 4.494 MB / 399.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007067/0.05076, allocations: 2.274 MB / 401.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.05337, allocations: 1.033 MB / 402.6 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.06412, allocations: 6.873 MB / 409.5 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007669/0.07178, allocations: 4.664 MB / 414.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.07856, allocations: 3.267 MB / 417.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006278/0.08483, allocations: 3.137 MB / 420.6 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.0865, allocations: 480 kB / 421 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.08998, allocations: 1.295 MB / 422.3 MB, free: 5.566 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003553/0.09353, allocations: 2.712 MB / 425.1 MB, free: 2.848 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003574/0.0971, allocations: 1.722 MB / 426.8 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.1107, allocations: 9.218 MB / 436 MB, free: 7.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1107, allocations: 0 / 436 MB, free: 7.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1107, allocations: 0 / 436 MB, free: 7.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003175/0.111, allocations: 0 / 436 MB, free: 7.875 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.01751/0.1286, allocations: 7.187 MB / 443.2 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1286, allocations: 8.031 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1684/0.2969, allocations: 3.23 MB / 446.4 MB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008622/0.3056, allocations: 3.423 MB / 449.8 MB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3058, allocations: 301.9 kB / 450.1 MB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.307, allocations: 420.1 kB / 450.5 MB, free: 96.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.3214, allocations: 7.595 MB / 458.1 MB, free: 92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.3216, allocations: 56.03 kB / 458.2 MB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.322, allocations: 184.7 kB / 458.4 MB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00295/0.325, allocations: 2.03 MB / 460.4 MB, free: 91.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.3374, allocations: 4.124 MB / 464.5 MB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/0.3897, allocations: 53.29 MB / 0.5057 GB, free: 49.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/0.3986, allocations: 2.408 MB / 0.508 GB, free: 47.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.4003, allocations: 0.8394 MB / 0.5089 GB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.4136, allocations: 6.387 MB / 0.5151 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4136, allocations: 59.08 kB / 0.5152 GB, free: 40.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=171): time 4.749e-06/0.4136, allocations: 0 / 0.5152 GB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.0441/0.4577, allocations: 14.7 MB / 0.5295 GB, free: 26.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4578, allocations: 201.2 kB / 0.5297 GB, free: 26.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/0.4631, allocations: 5.114 MB / 0.5347 GB, free: 21.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.4633, allocations: 53.7 kB / 0.5347 GB, free: 21.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.465, allocations: 4.124 MB / 0.5388 GB, free: 17.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/0.4657, allocations: 0.865 MB / 0.5396 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.4674, allocations: 1.736 MB / 0.5413 GB, free: 14.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.4675, allocations: 480.8 kB / 0.5418 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4691, allocations: 0.8795 MB / 0.5426 GB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.4724, allocations: 6.836 MB / 0.5493 GB, free: 3.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.4833, allocations: 8.504 MB / 0.5576 GB, free: 8.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/0.4835, allocations: 40 kB / 0.5577 GB, free: 8.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02167/0.5051, allocations: 6.691 MB / 0.5642 GB, free: 1.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5053, allocations: 60 kB / 0.5642 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/0.5055, allocations: 139.9 kB / 0.5644 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/0.5106, allocations: 1.161 MB / 0.5655 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/0.5162, allocations: 1.478 MB / 0.567 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.5283, allocations: 6.896 MB / 0.5737 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/0.5338, allocations: 423.4 kB / 0.5741 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.5349, allocations: 396 kB / 0.5745 GB, free: 7.188 MB / 442.7 MB 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.002554/0.5375, allocations: 0.8019 MB / 0.5753 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.5386, allocations: 445.4 kB / 0.5757 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00727/0.5459, allocations: 2.359 MB / 0.578 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/0.5459, allocations: 20 kB / 0.578 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/0.546, allocations: 8 kB / 0.578 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.546, allocations: 15.95 kB / 0.578 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/0.5671, allocations: 7.796 MB / 0.5856 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.5671, allocations: 4 kB / 0.5856 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.5687, allocations: 295.5 kB / 0.5859 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00468/0.5734, allocations: 0.9133 MB / 0.5868 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.5737, allocations: 36 kB / 0.5868 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.5843, allocations: 6.091 MB / 0.5928 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5843, allocations: 4 kB / 0.5928 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009655/0.594, allocations: 3.606 MB / 0.5963 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.5955, allocations: 393.2 kB / 0.5967 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006475/0.5962, allocations: 28 kB / 0.5967 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.5982, allocations: 179.7 kB / 0.5969 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/0.5986, allocations: 133 kB / 0.597 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.5988, allocations: 52 kB / 0.5971 GB, free: 15.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004323/0.6031, allocations: 2.132 MB / 0.5992 GB, free: 13.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6031, allocations: 0 / 0.5992 GB, free: 13.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006627/0.6097, allocations: 1.332 MB / 0.6005 GB, free: 12.19 MB / 474.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 (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.0006416/0.6104, allocations: 178.9 kB / 0.6006 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.6205, allocations: 4.113 MB / 0.6046 GB, free: 7.875 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.6205, allocations: 5.875 kB / 0.6046 GB, free: 7.871 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.6235, allocations: 1.294 MB / 0.6059 GB, free: 6.539 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.6271, allocations: 0.4961 MB / 0.6064 GB, free: 6.062 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1761/0.8032, allocations: 9.208 MB / 0.6154 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004334/0.8075, allocations: 3.003 MB / 0.6183 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003697/0.8112, allocations: 1.694 MB / 0.62 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.8119, allocations: 258.7 kB / 0.6202 GB, free: 133.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8119, allocations: 3.625 kB / 0.6202 GB, free: 133.7 MB / 474.7 MB Notification: Performance of Templates: time 0.06905/0.881, allocations: 40.29 MB / 0.6596 GB, free: 122.4 MB / 474.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] 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.422950920998119]