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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 119 kB / 19.13 MB, free: 3.922 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.001483/0.001483, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.481/1.481, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 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.255/0.255, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 77.33 kB / 490.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1252, allocations: 62.45 MB / 0.5404 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01616/0.1414, allocations: 13.43 MB / 0.5535 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1517, allocations: 4.52 MB / 0.5579 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.1542, allocations: 95.69 kB / 0.558 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008625/0.1628, allocations: 4.174 MB / 0.5621 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.1693, allocations: 2.128 MB / 0.5641 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1718, allocations: 0.9282 MB / 0.565 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009544/0.1814, allocations: 6.083 MB / 0.571 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007128/0.1885, allocations: 5.16 MB / 0.576 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.1927, allocations: 2.095 MB / 0.5781 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.1975, allocations: 2.804 MB / 0.5808 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.1988, allocations: 468 kB / 0.5812 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.2017, allocations: 1.342 MB / 0.5826 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.2043, allocations: 2.482 MB / 0.585 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003818/0.2081, allocations: 2.836 MB / 0.5878 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.2202, allocations: 9.036 MB / 0.5966 GB, free: 10.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.2203, allocations: 0 / 0.5966 GB, free: 10.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2203, allocations: 0 / 0.5966 GB, free: 10.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003454/0.2206, allocations: 0 / 0.5966 GB, free: 10.43 MB / 462.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.01627/0.2369, allocations: 6.223 MB / 0.6027 GB, free: 4.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.237, allocations: 12.03 kB / 0.6027 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.2497, allocations: 2.599 MB / 0.6052 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3067/0.5564, allocations: 3.824 MB / 0.6089 GB, free: 54.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.5568, allocations: 295.8 kB / 0.6092 GB, free: 54.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.5585, allocations: 408.5 kB / 0.6096 GB, free: 54.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/0.5803, allocations: 11.27 MB / 0.6206 GB, free: 49.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/0.5806, allocations: 58.36 kB / 0.6207 GB, free: 49.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000501/0.5811, allocations: 184.9 kB / 0.6209 GB, free: 49.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/0.585, allocations: 2.028 MB / 0.6228 GB, free: 49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.6043, allocations: 9.537 MB / 0.6321 GB, free: 45.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.6464, allocations: 44.99 MB / 0.6761 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.6566, allocations: 4.147 MB / 0.6801 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/0.6602, allocations: 2.356 MB / 0.6824 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/0.6755, allocations: 9.391 MB / 0.6916 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.6756, allocations: 55.48 kB / 0.6917 GB, free: 1.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=169): time 4.678e-06/0.6756, allocations: 0 / 0.6917 GB, free: 1.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=191): time 0.05628/0.7319, allocations: 19.58 MB / 0.7108 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7321, allocations: 208.5 kB / 0.711 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/0.7405, allocations: 4.698 MB / 0.7156 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/0.741, allocations: 53.7 kB / 0.7156 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.744, allocations: 3.692 MB / 0.7192 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.745, allocations: 0.7753 MB / 0.72 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/0.7469, allocations: 1.333 MB / 0.7213 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.747, allocations: 305.1 kB / 0.7216 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.7505, allocations: 2.379 MB / 0.7239 GB, free: 192 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007123/0.7576, allocations: 6.211 MB / 0.73 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.7698, allocations: 9.231 MB / 0.739 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.77, allocations: 40 kB / 0.739 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02006/0.79, allocations: 9.702 MB / 0.7485 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.7902, allocations: 60.22 kB / 0.7485 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/0.7906, allocations: 143.9 kB / 0.7487 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004958/0.7955, allocations: 1.595 MB / 0.7502 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005045/0.8006, allocations: 1.478 MB / 0.7517 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.8159, allocations: 9.997 MB / 0.7614 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/0.8216, allocations: 359.5 kB / 0.7618 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/0.8231, allocations: 388 kB / 0.7622 GB, free: 4.914 MB / 0.545 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.00576/0.8289, allocations: 2.457 MB / 0.7646 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.8302, allocations: 429.1 kB / 0.765 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009628/0.8398, allocations: 4.169 MB / 0.769 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/0.8399, allocations: 20 kB / 0.7691 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.8399, allocations: 8 kB / 0.7691 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/0.84, allocations: 7.969 kB / 0.7691 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/0.8618, allocations: 9.522 MB / 0.7784 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.8619, allocations: 4 kB / 0.7784 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.8634, allocations: 283.6 kB / 0.7786 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004502/0.868, allocations: 1.356 MB / 0.78 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000358/0.8684, allocations: 31.98 kB / 0.78 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.8823, allocations: 9.397 MB / 0.7892 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8824, allocations: 10.36 kB / 0.7892 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.896, allocations: 6.885 MB / 0.7959 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.8975, allocations: 474.2 kB / 0.7964 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/0.8987, allocations: 35.94 kB / 0.7964 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/0.9011, allocations: 119.8 kB / 0.7965 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/0.9017, allocations: 125 kB / 0.7966 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/0.902, allocations: 47.98 kB / 0.7967 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007203/0.9092, allocations: 2.96 MB / 0.7996 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9092, allocations: 0 / 0.7996 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007159/0.9164, allocations: 1.176 MB / 0.8007 GB, free: 12.98 MB / 0.5919 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.0008098/0.9172, allocations: 159 kB / 0.8009 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0116/0.9288, allocations: 5.899 MB / 0.8066 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.9289, allocations: 4.062 kB / 0.8066 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003976/0.9329, allocations: 1.976 MB / 0.8086 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/0.9376, allocations: 0.5371 MB / 0.8091 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/0.9659, allocations: 11.63 MB / 0.8204 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006315/0.9723, allocations: 3.799 MB / 0.8241 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.9736, allocations: 315.4 kB / 0.8244 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.9736, allocations: 0 / 0.8244 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of Templates: time 0.4387/1.412, allocations: 112.1 MB / 0.9339 GB, free: 136.6 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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: 15.433742079068907]