Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002209/0.002209, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3264/0.3264, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006268, allocations: 20 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1139, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.422/0.536, allocations: 60.1 MB / 0.5374 GB, free: 9.684 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03894/0.575, allocations: 14.02 MB / 0.5511 GB, free: 5.441 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01578/0.5909, allocations: 306.1 kB / 0.5514 GB, free: 5.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.6022, allocations: 3.01 MB / 0.5544 GB, free: 3.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03572/0.6379, allocations: 8.601 MB / 0.5628 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005784/0.6438, allocations: 0.7987 MB / 0.5635 GB, free: 14.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07438/0.7182, allocations: 26.82 MB / 0.5897 GB, free: 6.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01489/0.7331, allocations: 6.586 MB / 0.5962 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.7371, allocations: 1.405 MB / 0.5975 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.7419, allocations: 1.842 MB / 0.5993 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.7434, allocations: 196 kB / 0.5995 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.7474, allocations: 0.9442 MB / 0.6004 GB, free: 11.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004107/0.7515, allocations: 2.108 MB / 0.6025 GB, free: 9.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.7541, allocations: 1.1 MB / 0.6036 GB, free: 8.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.7673, allocations: 7.544 MB / 0.6109 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.7674, allocations: 0 / 0.6109 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7674, allocations: 0 / 0.6109 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003107/0.7677, allocations: 0 / 0.6109 GB, free: 0.6953 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.0202/0.7879, allocations: 5.559 MB / 0.6164 GB, free: 11.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.788, allocations: 8.031 kB / 0.6164 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08888/0.8769, allocations: 8.036 MB / 0.6242 GB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.8913, allocations: 4.263 MB / 0.6284 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/0.8918, allocations: 312.1 kB / 0.6287 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.8942, allocations: 443.6 kB / 0.6291 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/0.9304, allocations: 12.25 MB / 0.6411 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.9307, allocations: 55.53 kB / 0.6411 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.932, allocations: 195.8 kB / 0.6413 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006889/0.9389, allocations: 2.21 MB / 0.6435 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03467/0.9737, allocations: 10.41 MB / 0.6536 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09331/1.067, allocations: 47.17 MB / 0.6997 GB, free: 3.438 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.087, allocations: 4.485 MB / 0.7041 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02835/1.116, allocations: 10.14 MB / 0.714 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/1.116, allocations: 63.8 kB / 0.714 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 5.881e-06/1.116, allocations: 0 / 0.714 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=218): time 0.4327/1.549, allocations: 19.83 MB / 0.7334 GB, free: 181.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.549, allocations: 209.9 kB / 0.7336 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.562, allocations: 5.064 MB / 0.7386 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005457/1.563, allocations: 53.67 kB / 0.7386 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.566, allocations: 3.612 MB / 0.7421 GB, free: 177 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.568, allocations: 0.8352 MB / 0.7429 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009149/1.569, allocations: 134 kB / 0.7431 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006041/1.569, allocations: 0.5871 MB / 0.7436 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006402/1.576, allocations: 2.342 MB / 0.7459 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008807/1.584, allocations: 6.264 MB / 0.7521 GB, free: 169 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008744/1.593, allocations: 3.745 MB / 0.7557 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.593, allocations: 40.19 kB / 0.7557 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02526/1.619, allocations: 9.026 MB / 0.7646 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.619, allocations: 69.52 kB / 0.7646 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/1.619, allocations: 140 kB / 0.7648 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005261/1.624, allocations: 1.093 MB / 0.7658 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009052/1.633, allocations: 1.513 MB / 0.7673 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.649, allocations: 8.402 MB / 0.7755 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007473/1.657, allocations: 367.5 kB / 0.7759 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.658, allocations: 395.5 kB / 0.7762 GB, free: 148.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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 (794): * Single equations (assignments): 789 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006761/1.665, allocations: 2.575 MB / 0.7788 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.666, allocations: 442.4 kB / 0.7792 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.678, allocations: 3.877 MB / 0.783 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/1.679, allocations: 24 kB / 0.783 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/1.679, allocations: 12 kB / 0.783 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/1.679, allocations: 11.91 kB / 0.783 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.709, allocations: 9.791 MB / 0.7926 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.849e-05/1.709, allocations: 0 / 0.7926 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003434/1.713, allocations: 351.5 kB / 0.7929 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004865/1.718, allocations: 0.8477 MB / 0.7937 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005026/1.718, allocations: 44.83 kB / 0.7938 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.733, allocations: 7.525 MB / 0.8011 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.733, allocations: 4.062 kB / 0.8011 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.75, allocations: 6.76 MB / 0.8077 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.753, allocations: 0.773 MB / 0.8085 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.755, allocations: 41.8 kB / 0.8085 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003979/1.759, allocations: 119.9 kB / 0.8086 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009431/1.76, allocations: 133.8 kB / 0.8088 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/1.76, allocations: 52 kB / 0.8088 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01108/1.771, allocations: 3.235 MB / 0.812 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.81e-07/1.771, allocations: 0 / 0.812 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01674/1.788, allocations: 1.23 MB / 0.8132 GB, free: 110.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000937/1.789, allocations: 192.5 kB / 0.8134 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.803, allocations: 5.92 MB / 0.8191 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.803, allocations: 0 / 0.8191 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005309/1.808, allocations: 2.079 MB / 0.8212 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/1.813, allocations: 0.5287 MB / 0.8217 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.842, allocations: 14.14 MB / 0.8355 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007525/1.85, allocations: 4.116 MB / 0.8395 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.852, allocations: 335.4 kB / 0.8398 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.852, allocations: 3.938 kB / 0.8398 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.5871/2.439, allocations: 113 MB / 0.9502 GB, free: 150.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches