Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 95.81 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 177.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3598/0.3598, allocations: 43.55 MB / 314.5 MB, free: 8.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005349, allocations: 15.98 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.258/0.3911, allocations: 60.12 MB / 0.4911 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.4236, allocations: 14.02 MB / 0.5048 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01486/0.4385, allocations: 302.2 kB / 0.5051 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.4501, allocations: 3.009 MB / 0.508 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03311/0.4833, allocations: 8.597 MB / 0.5164 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005171/0.4885, allocations: 0.7975 MB / 0.5172 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04101/0.5295, allocations: 26.83 MB / 0.5434 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/0.5412, allocations: 6.592 MB / 0.5498 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.5446, allocations: 1.394 MB / 0.5512 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.5484, allocations: 1.842 MB / 0.553 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.5497, allocations: 192 kB / 0.5531 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.5527, allocations: 0.952 MB / 0.5541 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.5555, allocations: 2.112 MB / 0.5561 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.5573, allocations: 1.092 MB / 0.5572 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008556/0.5658, allocations: 7.548 MB / 0.5646 GB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5658, allocations: 0 / 0.5646 GB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5659, allocations: 0 / 0.5646 GB, free: 3.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003121/0.5662, allocations: 0 / 0.5646 GB, free: 3.152 MB / 430.1 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.01511/0.5813, allocations: 5.559 MB / 0.57 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5814, allocations: 8.031 kB / 0.57 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04287/0.6242, allocations: 8.036 MB / 0.5779 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.6346, allocations: 4.261 MB / 0.582 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.6349, allocations: 316.1 kB / 0.5823 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.6365, allocations: 443.6 kB / 0.5827 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.6579, allocations: 12.24 MB / 0.5947 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.6581, allocations: 63.48 kB / 0.5948 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005248/0.6586, allocations: 195.8 kB / 0.5949 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003543/0.6622, allocations: 2.206 MB / 0.5971 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.6823, allocations: 10.43 MB / 0.6073 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2929/0.9752, allocations: 47.16 MB / 0.6533 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.9857, allocations: 4.486 MB / 0.6577 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01601/1.002, allocations: 10.14 MB / 0.6676 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.002, allocations: 57.25 kB / 0.6677 GB, free: 107.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 4.879e-06/1.002, allocations: 0 / 0.6677 GB, free: 107.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05428/1.056, allocations: 19.84 MB / 0.6871 GB, free: 99.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.056, allocations: 205.3 kB / 0.6872 GB, free: 99.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/1.066, allocations: 5.068 MB / 0.6922 GB, free: 97.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005795/1.067, allocations: 56.95 kB / 0.6923 GB, free: 97.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002751/1.07, allocations: 3.76 MB / 0.6959 GB, free: 94.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.071, allocations: 0.8306 MB / 0.6967 GB, free: 93.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/1.071, allocations: 126.2 kB / 0.6969 GB, free: 93.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003011/1.071, allocations: 0.5808 MB / 0.6974 GB, free: 93.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/1.075, allocations: 2.343 MB / 0.6997 GB, free: 92.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/1.079, allocations: 6.268 MB / 0.7058 GB, free: 86.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/1.084, allocations: 3.757 MB / 0.7095 GB, free: 85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.202e-05/1.084, allocations: 38.84 kB / 0.7095 GB, free: 85 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01583/1.1, allocations: 9.196 MB / 0.7185 GB, free: 80.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/1.1, allocations: 66.66 kB / 0.7186 GB, free: 80.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.1, allocations: 140.7 kB / 0.7187 GB, free: 80.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/1.103, allocations: 1.093 MB / 0.7198 GB, free: 79.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/1.108, allocations: 1.513 MB / 0.7213 GB, free: 77.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/1.116, allocations: 8.399 MB / 0.7295 GB, free: 68.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.122, allocations: 375.4 kB / 0.7298 GB, free: 68.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.123, allocations: 395.3 kB / 0.7302 GB, free: 68.19 MB / 494.1 MB 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.006067/1.129, allocations: 2.573 MB / 0.7327 GB, free: 65.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/1.132, allocations: 430.5 kB / 0.7331 GB, free: 65.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/1.139, allocations: 3.881 MB / 0.7369 GB, free: 61.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/1.139, allocations: 35.89 kB / 0.7369 GB, free: 61.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.139, allocations: 4 kB / 0.737 GB, free: 61.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/1.139, allocations: 11.97 kB / 0.737 GB, free: 61.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.163, allocations: 9.791 MB / 0.7465 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.163, allocations: 0 / 0.7465 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.165, allocations: 347.5 kB / 0.7469 GB, free: 51.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/1.168, allocations: 0.8611 MB / 0.7477 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.168, allocations: 36 kB / 0.7477 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007786/1.176, allocations: 7.531 MB / 0.7551 GB, free: 42.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.176, allocations: 4.062 kB / 0.7551 GB, free: 42.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009345/1.185, allocations: 6.759 MB / 0.7617 GB, free: 35.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.188, allocations: 0.7688 MB / 0.7624 GB, free: 34.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007875/1.189, allocations: 35.2 kB / 0.7625 GB, free: 34.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.19, allocations: 127.9 kB / 0.7626 GB, free: 34.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.191, allocations: 137.7 kB / 0.7627 GB, free: 34.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.191, allocations: 56 kB / 0.7628 GB, free: 34.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004115/1.195, allocations: 3.235 MB / 0.7659 GB, free: 31.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.195, allocations: 0 / 0.7659 GB, free: 31.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006742/1.202, allocations: 1.224 MB / 0.7671 GB, free: 29.97 MB / 494.1 MB 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.0005515/1.202, allocations: 187.6 kB / 0.7673 GB, free: 29.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008285/1.21, allocations: 5.914 MB / 0.7731 GB, free: 23.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.21, allocations: 0 / 0.7731 GB, free: 23.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.213, allocations: 2.083 MB / 0.7751 GB, free: 21.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.217, allocations: 0.5338 MB / 0.7756 GB, free: 21.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.236, allocations: 13.52 MB / 0.7888 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003825/1.24, allocations: 4.113 MB / 0.7929 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004986/1.245, allocations: 2.096 MB / 0.7949 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000797/1.246, allocations: 283.4 kB / 0.7952 GB, free: 1.188 MB / 494.1 MB Notification: Performance of SimCode: time 2.014e-06/1.246, allocations: 0 / 0.7952 GB, free: 1.188 MB / 494.1 MB Notification: Performance of Templates: time 0.3062/1.552, allocations: 43.15 MB / 0.8373 GB, free: 150.9 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches