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.00161/0.00161, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4197, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01563/0.4354, allocations: 13.43 MB / 0.5441 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.4474, allocations: 4.534 MB / 0.5485 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.4515, allocations: 90.97 kB / 0.5486 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008387/0.46, allocations: 4.177 MB / 0.5527 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007814/0.4679, allocations: 2.12 MB / 0.5548 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.4707, allocations: 0.9242 MB / 0.5557 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4809, allocations: 6.081 MB / 0.5616 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008298/0.4892, allocations: 5.162 MB / 0.5666 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.4937, allocations: 2.103 MB / 0.5687 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005193/0.4989, allocations: 2.812 MB / 0.5714 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002293/0.5013, allocations: 468 kB / 0.5719 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.5058, allocations: 1.338 MB / 0.5732 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004004/0.5099, allocations: 2.509 MB / 0.5757 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005937/0.5158, allocations: 2.828 MB / 0.5784 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.5278, allocations: 9.01 MB / 0.5872 GB, free: 7.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5279, allocations: 4 kB / 0.5872 GB, free: 7.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5279, allocations: 0 / 0.5872 GB, free: 7.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003893/0.5283, allocations: 0 / 0.5872 GB, free: 7.93 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.0174/0.5457, allocations: 6.067 MB / 0.5931 GB, free: 1.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5458, allocations: 12.03 kB / 0.5932 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.5586, allocations: 2.56 MB / 0.5957 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.569, allocations: 3.813 MB / 0.5994 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.5694, allocations: 296.1 kB / 0.5997 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.5713, allocations: 403.8 kB / 0.6 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/0.5987, allocations: 11.28 MB / 0.6111 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/0.5991, allocations: 47.53 kB / 0.6111 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001806/0.6009, allocations: 191.9 kB / 0.6113 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003921/0.6049, allocations: 2.022 MB / 0.6133 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.6262, allocations: 9.533 MB / 0.6226 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0691/0.6954, allocations: 44.92 MB / 0.6664 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.7063, allocations: 4.145 MB / 0.6705 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.7103, allocations: 2.344 MB / 0.6728 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/0.7291, allocations: 9.379 MB / 0.6819 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/0.7292, allocations: 51.56 kB / 0.682 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 7.234e-06/0.7292, allocations: 3.938 kB / 0.682 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05933/0.7886, allocations: 19.3 MB / 0.7008 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.7888, allocations: 201.2 kB / 0.701 GB, free: 0.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/0.8012, allocations: 4.693 MB / 0.7056 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006896/0.802, allocations: 53.69 kB / 0.7057 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/0.8062, allocations: 3.552 MB / 0.7091 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/0.8078, allocations: 0.7405 MB / 0.7099 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004331/0.8121, allocations: 1.332 MB / 0.7112 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8123, allocations: 301.1 kB / 0.7114 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/0.8168, allocations: 2.379 MB / 0.7138 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3744/1.191, allocations: 6.211 MB / 0.7198 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.205, allocations: 9.211 MB / 0.7288 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003462/1.206, allocations: 47.92 kB / 0.7289 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02181/1.227, allocations: 9.686 MB / 0.7383 GB, free: 148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.228, allocations: 65.62 kB / 0.7384 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002162/1.228, allocations: 132.9 kB / 0.7385 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004329/1.232, allocations: 1.598 MB / 0.7401 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/1.237, allocations: 1.468 MB / 0.7415 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.249, allocations: 10.01 MB / 0.7513 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.255, allocations: 355.9 kB / 0.7516 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/1.256, allocations: 387.7 kB / 0.752 GB, free: 140.3 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.003968/1.26, allocations: 2.457 MB / 0.7544 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/1.26, allocations: 405.5 kB / 0.7548 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/1.267, allocations: 4.165 MB / 0.7589 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.267, allocations: 20 kB / 0.7589 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.267, allocations: 8 kB / 0.7589 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.267, allocations: 11.95 kB / 0.7589 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/1.283, allocations: 9.521 MB / 0.7682 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.283, allocations: 4 kB / 0.7682 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/1.285, allocations: 287.5 kB / 0.7685 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.288, allocations: 1.356 MB / 0.7698 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.288, allocations: 35.98 kB / 0.7698 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/1.297, allocations: 9.38 MB / 0.779 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.298, allocations: 8.094 kB / 0.779 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/1.307, allocations: 6.872 MB / 0.7857 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.308, allocations: 455.8 kB / 0.7861 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004786/1.309, allocations: 35.98 kB / 0.7862 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.31, allocations: 111.8 kB / 0.7863 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/1.311, allocations: 125 kB / 0.7864 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.311, allocations: 44 kB / 0.7865 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00399/1.315, allocations: 2.96 MB / 0.7893 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.315, allocations: 0 / 0.7893 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005673/1.321, allocations: 1.174 MB / 0.7905 GB, free: 101 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.0004646/1.321, allocations: 161.6 kB / 0.7906 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008772/1.33, allocations: 5.902 MB / 0.7964 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.33, allocations: 448 / 0.7964 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/1.333, allocations: 1.972 MB / 0.7983 GB, free: 92.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.336, allocations: 0.5352 MB / 0.7989 GB, free: 92.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.354, allocations: 10.96 MB / 0.8096 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/1.357, allocations: 3.81 MB / 0.8133 GB, free: 77.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003972/1.361, allocations: 1.981 MB / 0.8152 GB, free: 75.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/1.362, allocations: 271.4 kB / 0.8155 GB, free: 75.37 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/1.362, allocations: 0 / 0.8155 GB, free: 75.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.07284/1.435, allocations: 41.56 MB / 0.8561 GB, free: 34.12 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