Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.00152/0.00152, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001716/0.001716, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.408/1.408, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2286, allocations: 46.9 MB / 361.1 MB, free: 4.621 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 79.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3115, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.03349/0.345, allocations: 30.97 MB / 0.5915 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3623, allocations: 7.682 MB / 0.599 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005693/0.368, allocations: 223.4 kB / 0.5992 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01811/0.3861, allocations: 9.294 MB / 0.6083 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.4018, allocations: 5.089 MB / 0.6132 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.4064, allocations: 1.525 MB / 0.6147 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02455/0.431, allocations: 15.29 MB / 0.6296 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01407/0.445, allocations: 8.843 MB / 0.6383 GB, free: 5.789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.4552, allocations: 5.366 MB / 0.6435 GB, free: 416 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.4676, allocations: 7.816 MB / 0.6511 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003822/0.4714, allocations: 1.145 MB / 0.6523 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005924/0.4773, allocations: 1.944 MB / 0.6542 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009359/0.4867, allocations: 6.79 MB / 0.6608 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/0.4993, allocations: 7.519 MB / 0.6681 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03046/0.5298, allocations: 23.6 MB / 0.6912 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5298, allocations: 0 / 0.6912 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5298, allocations: 0 / 0.6912 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007013/0.5305, allocations: 8 kB / 0.6912 GB, free: 15.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5230 * Number of variables: 5230 Notification: Performance of Generate backend data structure: time 0.03797/0.5684, allocations: 15.67 MB / 0.7065 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5685, allocations: 8.031 kB / 0.7065 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03965/0.6081, allocations: 9.417 MB / 0.7157 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/0.6317, allocations: 8.98 MB / 0.7245 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007838/0.6325, allocations: 0.7659 MB / 0.7252 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004059/0.6366, allocations: 1.058 MB / 0.7262 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5206/1.157, allocations: 35.56 MB / 0.761 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/1.157, allocations: 110.2 kB / 0.7611 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.159, allocations: 482.8 kB / 0.7615 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009626/1.169, allocations: 7.44 MB / 0.7688 GB, free: 121.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05199/1.221, allocations: 32.2 MB / 0.8002 GB, free: 89.29 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1646/1.385, allocations: 127.3 MB / 0.9245 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03727/1.422, allocations: 14.9 MB / 0.9391 GB, free: 9.055 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01488/1.437, allocations: 9.11 MB / 0.948 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0763/1.514, allocations: 35.29 MB / 0.9824 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.514, allocations: 94.86 kB / 0.9825 GB, free: 12.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=705): time 1.176e-05/1.514, allocations: 0 / 0.9825 GB, free: 12.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=787): time 0.7419/2.256, allocations: 84.34 MB / 1.065 GB, free: 194.3 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/2.256, allocations: 308.3 kB / 1.065 GB, free: 194 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/2.269, allocations: 10.39 MB / 1.075 GB, free: 183.8 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/2.27, allocations: 129.7 kB / 1.075 GB, free: 183.7 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.004553/2.275, allocations: 9.751 MB / 1.085 GB, free: 174.8 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.00361/2.279, allocations: 2.995 MB / 1.088 GB, free: 171.9 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00514/2.284, allocations: 3.67 MB / 1.091 GB, free: 168.2 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/2.284, allocations: 309.1 kB / 1.092 GB, free: 167.9 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/2.296, allocations: 8.597 MB / 1.1 GB, free: 159.3 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/2.311, allocations: 17.94 MB / 1.118 GB, free: 136.9 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02695/2.338, allocations: 28.44 MB / 1.145 GB, free: 103.9 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000266/2.338, allocations: 92 kB / 1.146 GB, free: 103.8 MB / 0.6702 GB Notification: Performance of matching and sorting (n=2392) (initialization): time 0.04988/2.388, allocations: 29.41 MB / 1.174 GB, free: 74.34 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004038/2.389, allocations: 144.1 kB / 1.174 GB, free: 74.2 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006025/2.389, allocations: 323.9 kB / 1.175 GB, free: 73.89 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009677/2.399, allocations: 3.665 MB / 1.178 GB, free: 70.21 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/2.413, allocations: 4.25 MB / 1.182 GB, free: 65.95 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/2.436, allocations: 19.91 MB / 1.202 GB, free: 45.76 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/2.449, allocations: 1.092 MB / 1.203 GB, free: 44.67 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003148/2.452, allocations: 0.9765 MB / 1.204 GB, free: 43.69 MB / 0.6702 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1463 * Number of states: 0 () * Number of discrete variables: 97 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2196): * Single equations (assignments): 2179 * Array equations: 15 * 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,36,77.8%), (3,36,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.012/2.464, allocations: 6.937 MB / 1.211 GB, free: 36.74 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002155/2.466, allocations: 1.017 MB / 1.212 GB, free: 35.71 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/2.492, allocations: 17.2 MB / 1.228 GB, free: 18.43 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001644/2.492, allocations: 31.88 kB / 1.229 GB, free: 18.4 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/2.492, allocations: 0 / 1.229 GB, free: 18.4 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/2.495, allocations: 0.9941 MB / 1.229 GB, free: 17.38 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003126/2.498, allocations: 111.4 kB / 1.23 GB, free: 17.27 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00678/2.505, allocations: 0.5499 MB / 1.23 GB, free: 16.72 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/2.507, allocations: 448 kB / 1.231 GB, free: 16.29 MB / 0.6702 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3455/2.852, allocations: 17.26 MB / 1.247 GB, free: 200.3 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03169/2.884, allocations: 24.24 MB / 1.271 GB, free: 192.2 MB / 0.6702 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008121/2.892, allocations: 6.316 MB / 1.277 GB, free: 190 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.00948/2.902, allocations: 6.412 MB / 1.284 GB, free: 188 MB / 0.6702 GB Notification: Performance of Backend: time 6.11e-07/2.902, allocations: 0 / 1.284 GB, free: 188 MB / 0.6702 GB Notification: Performance of simCode: created initialization part: time 0.02816/2.93, allocations: 13.54 MB / 1.297 GB, free: 183.3 MB / 0.6702 GB Notification: Performance of SimCode: time 0.05164/2.981, allocations: 30.36 MB / 1.326 GB, free: 159.3 MB / 0.6702 GB Notification: Performance of Templates: time 0.2223/3.204, allocations: 154.7 MB / 1.477 GB, free: 8.551 MB / 0.6702 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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: 12.193085282109678]