Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 113.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 208.6 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4279, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01732/0.4453, allocations: 13.42 MB / 0.5441 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.4582, allocations: 4.531 MB / 0.5485 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00476/0.463, allocations: 97.31 kB / 0.5486 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009107/0.4722, allocations: 4.173 MB / 0.5527 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008153/0.4804, allocations: 2.124 MB / 0.5548 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.4835, allocations: 0.9243 MB / 0.5557 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009923/0.4935, allocations: 6.081 MB / 0.5616 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007773/0.5013, allocations: 5.16 MB / 0.5667 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.5071, allocations: 2.099 MB / 0.5687 GB, free: 11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.513, allocations: 2.804 MB / 0.5714 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002244/0.5153, allocations: 468 kB / 0.5719 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.52, allocations: 1.334 MB / 0.5732 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003931/0.524, allocations: 2.498 MB / 0.5756 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00597/0.53, allocations: 2.824 MB / 0.5784 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.5431, allocations: 9.04 MB / 0.5872 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5431, allocations: 0 / 0.5872 GB, free: 7.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5431, allocations: 0 / 0.5872 GB, free: 7.977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003033/0.5434, allocations: 0 / 0.5872 GB, free: 7.977 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.02053/0.564, allocations: 6.226 MB / 0.5933 GB, free: 1.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5641, allocations: 8.031 kB / 0.5933 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.5765, allocations: 2.603 MB / 0.5958 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.5878, allocations: 3.838 MB / 0.5996 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.5883, allocations: 300.1 kB / 0.5999 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.5902, allocations: 407.9 kB / 0.6003 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/0.6154, allocations: 11.27 MB / 0.6113 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/0.6159, allocations: 59.52 kB / 0.6113 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/0.618, allocations: 191.9 kB / 0.6115 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/0.6218, allocations: 2.018 MB / 0.6135 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.643, allocations: 9.533 MB / 0.6228 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0647/0.7077, allocations: 45 MB / 0.6667 GB, free: 4.254 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.7183, allocations: 4.139 MB / 0.6708 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.7218, allocations: 2.343 MB / 0.6731 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/0.738, allocations: 9.397 MB / 0.6822 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/0.7381, allocations: 51.5 kB / 0.6823 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 7.174e-06/0.7381, allocations: 0 / 0.6823 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05996/0.7981, allocations: 19.57 MB / 0.7014 GB, free: 324 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7982, allocations: 201.2 kB / 0.7016 GB, free: 80 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/0.809, allocations: 4.706 MB / 0.7062 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005766/0.8096, allocations: 53.7 kB / 0.7063 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/0.8127, allocations: 3.692 MB / 0.7099 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.8139, allocations: 0.7753 MB / 0.7106 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003447/0.8174, allocations: 1.33 MB / 0.7119 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.8175, allocations: 305.1 kB / 0.7122 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.8215, allocations: 2.375 MB / 0.7145 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3648/1.186, allocations: 6.211 MB / 0.7206 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/1.199, allocations: 9.221 MB / 0.7296 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/1.199, allocations: 39.03 kB / 0.7296 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01657/1.215, allocations: 9.712 MB / 0.7391 GB, free: 148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/1.215, allocations: 62.88 kB / 0.7392 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.216, allocations: 136.9 kB / 0.7393 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/1.219, allocations: 1.599 MB / 0.7409 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.223, allocations: 1.471 MB / 0.7423 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.234, allocations: 10.01 MB / 0.7521 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/1.241, allocations: 362.1 kB / 0.7524 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/1.242, allocations: 384 kB / 0.7528 GB, free: 140.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (787): * Single equations (assignments): 782 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003794/1.246, allocations: 2.453 MB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/1.247, allocations: 426.4 kB / 0.7556 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/1.253, allocations: 4.167 MB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.253, allocations: 24 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.253, allocations: 10.06 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.253, allocations: 7.969 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.269, allocations: 9.528 MB / 0.769 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.269, allocations: 4 kB / 0.769 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.27, allocations: 279.6 kB / 0.7693 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/1.274, allocations: 1.358 MB / 0.7706 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/1.274, allocations: 39.98 kB / 0.7706 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00939/1.283, allocations: 9.39 MB / 0.7798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.283, allocations: 0 / 0.7798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00963/1.293, allocations: 6.9 MB / 0.7866 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.295, allocations: 477 kB / 0.787 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.296, allocations: 32 kB / 0.787 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.298, allocations: 111.8 kB / 0.7871 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.298, allocations: 121.1 kB / 0.7873 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.298, allocations: 51.83 kB / 0.7873 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003971/1.302, allocations: 2.952 MB / 0.7902 GB, free: 102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.302, allocations: 0 / 0.7902 GB, free: 102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006155/1.309, allocations: 1.178 MB / 0.7913 GB, free: 100.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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.0004357/1.309, allocations: 168.2 kB / 0.7915 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008217/1.317, allocations: 5.894 MB / 0.7973 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.317, allocations: 0 / 0.7973 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/1.32, allocations: 1.979 MB / 0.7992 GB, free: 92.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.323, allocations: 0.5351 MB / 0.7997 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/1.342, allocations: 11.14 MB / 0.8106 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005924/1.348, allocations: 3.814 MB / 0.8143 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004935/1.353, allocations: 1.986 MB / 0.8163 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.354, allocations: 259.4 kB / 0.8165 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.354, allocations: 4 kB / 0.8165 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.07441/1.429, allocations: 41.58 MB / 0.8571 GB, free: 33.63 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches