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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 114.5 kB / 18.46 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.09 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.86 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3413, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01655/0.3579, allocations: 13.5 MB / 0.5448 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3681, allocations: 4.548 MB / 0.5493 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.3701, allocations: 90.31 kB / 0.5494 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007231/0.3774, allocations: 4.183 MB / 0.5535 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004888/0.3823, allocations: 2.132 MB / 0.5555 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3841, allocations: 0.936 MB / 0.5565 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007194/0.3913, allocations: 6.12 MB / 0.5624 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/0.3966, allocations: 5.209 MB / 0.5675 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.3995, allocations: 2.111 MB / 0.5696 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.403, allocations: 2.804 MB / 0.5723 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000765/0.4038, allocations: 468 kB / 0.5728 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.4061, allocations: 1.346 MB / 0.5741 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.4082, allocations: 2.513 MB / 0.5765 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.4113, allocations: 2.844 MB / 0.5793 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.4195, allocations: 9.022 MB / 0.5881 GB, free: 7.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4196, allocations: 0 / 0.5881 GB, free: 7.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4196, allocations: 0 / 0.5881 GB, free: 7.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001399/0.4197, allocations: 0 / 0.5881 GB, free: 7.668 MB / 446.1 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.01201/0.4317, allocations: 6.075 MB / 0.594 GB, free: 1.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4318, allocations: 8.031 kB / 0.5941 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4429, allocations: 2.583 MB / 0.5966 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007972/0.4509, allocations: 3.808 MB / 0.6003 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4511, allocations: 304.1 kB / 0.6006 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.4522, allocations: 427.8 kB / 0.601 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.4697, allocations: 11.54 MB / 0.6123 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4699, allocations: 59.52 kB / 0.6123 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.4703, allocations: 187.9 kB / 0.6125 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003101/0.4735, allocations: 2.026 MB / 0.6145 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.4901, allocations: 9.94 MB / 0.6242 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04907/0.5392, allocations: 45.34 MB / 0.6685 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.5499, allocations: 4.368 MB / 0.6727 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.5531, allocations: 2.467 MB / 0.6751 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.5678, allocations: 9.851 MB / 0.6848 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.5679, allocations: 59.5 kB / 0.6848 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.669e-06/0.5679, allocations: 0 / 0.6848 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05171/0.6196, allocations: 19.9 MB / 0.7043 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.6197, allocations: 197.2 kB / 0.7044 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006387/0.6261, allocations: 4.693 MB / 0.709 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.6263, allocations: 49.7 kB / 0.7091 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.6286, allocations: 3.568 MB / 0.7126 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000727/0.6294, allocations: 0.7601 MB / 0.7133 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.6311, allocations: 1.336 MB / 0.7146 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.6312, allocations: 301.1 kB / 0.7149 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/0.6349, allocations: 2.406 MB / 0.7172 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2456/0.8805, allocations: 6.25 MB / 0.7233 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00814/0.8886, allocations: 9.297 MB / 0.7324 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.465e-05/0.8887, allocations: 38.19 kB / 0.7325 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.013/0.9018, allocations: 9.774 MB / 0.742 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.9018, allocations: 67.19 kB / 0.7421 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.731e-05/0.9019, allocations: 139.9 kB / 0.7422 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0037/0.9057, allocations: 1.602 MB / 0.7438 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/0.9093, allocations: 1.487 MB / 0.7452 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.919, allocations: 10.27 MB / 0.7552 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.9229, allocations: 353 kB / 0.7556 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/0.9234, allocations: 395.8 kB / 0.756 GB, free: 137.9 MB / 0.5606 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.002913/0.9263, allocations: 2.454 MB / 0.7584 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.9268, allocations: 406.9 kB / 0.7587 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/0.9334, allocations: 4.228 MB / 0.7629 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9335, allocations: 7.969 kB / 0.7629 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.9335, allocations: 4 kB / 0.7629 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/0.9342, allocations: 467.7 kB / 0.7633 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.9346, allocations: 31.98 kB / 0.7634 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.936, allocations: 115.8 kB / 0.7635 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/0.9364, allocations: 137 kB / 0.7636 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006693/0.9431, allocations: 4.641 MB / 0.7681 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005374/0.9485, allocations: 5.716 MB / 0.7737 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001424/0.9499, allocations: 1.496 MB / 0.7752 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00313/0.953, allocations: 2.96 MB / 0.7781 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of Backend: time 2.5e-07/0.9531, allocations: 0 / 0.7781 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008327/0.9614, allocations: 4.869 MB / 0.7828 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01441/0.9758, allocations: 11.03 MB / 0.7936 GB, free: 99.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07928/1.055, allocations: 53.81 MB / 0.8461 GB, free: 46.39 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches