Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 59.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09868, allocations: 53.32 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.1929/0.2916, allocations: 13.24 MB / 439.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009109/0.3007, allocations: 4.691 MB / 444.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.3034, allocations: 99.69 kB / 444.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007888/0.3113, allocations: 4.119 MB / 448.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.3176, allocations: 2.078 MB / 450.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.32, allocations: 0.8411 MB / 451.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007802/0.3278, allocations: 4.765 MB / 456.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007037/0.3349, allocations: 4.272 MB / 460.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00402/0.3389, allocations: 1.961 MB / 462.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004811/0.3437, allocations: 2.868 MB / 465.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.3453, allocations: 456.5 kB / 465.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.3489, allocations: 1.352 MB / 467.1 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003374/0.3522, allocations: 2.367 MB / 469.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005123/0.3574, allocations: 2.777 MB / 472.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.3695, allocations: 8.893 MB / 481.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3695, allocations: 0 / 481.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3695, allocations: 0 / 481.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002517/0.3698, allocations: 0 / 481.1 MB, free: 9.867 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.03252/0.4023, allocations: 7.245 MB / 488.3 MB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4024, allocations: 12.03 kB / 488.3 MB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002326/0.4047, allocations: 0.8445 MB / 489.2 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09245/0.4971, allocations: 7.199 MB / 496.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008627/0.5058, allocations: 3.489 MB / 499.9 MB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.5061, allocations: 299.8 kB / 0.4884 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.5079, allocations: 407.8 kB / 0.4888 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/0.5401, allocations: 13.25 MB / 0.5018 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/0.5403, allocations: 51.56 kB / 0.5018 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.5419, allocations: 187.9 kB / 0.502 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005117/0.547, allocations: 2.19 MB / 0.5041 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/0.576, allocations: 12.67 MB / 0.5165 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07375/0.6497, allocations: 49.15 MB / 0.5645 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02594/0.6757, allocations: 6.24 MB / 0.5706 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/0.6812, allocations: 3.665 MB / 0.5742 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.6823, allocations: 424.4 kB / 0.5746 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/0.6823, allocations: 59.88 kB / 0.5747 GB, free: 12.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=214): time 4.608e-06/0.6823, allocations: 0 / 0.5747 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=252): time 0.1117/0.794, allocations: 36.32 MB / 0.6101 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.7942, allocations: 209.9 kB / 0.6103 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006511/0.8007, allocations: 4.449 MB / 0.6147 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006525/0.8013, allocations: 61.7 kB / 0.6147 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.1882/0.9895, allocations: 3.602 MB / 0.6183 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.9908, allocations: 0.9837 MB / 0.6192 GB, free: 161 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002546/0.9934, allocations: 1.567 MB / 0.6207 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.9934, allocations: 307.6 kB / 0.621 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00612/0.9995, allocations: 4.273 MB / 0.6252 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008525/1.008, allocations: 8.159 MB / 0.6332 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/1.024, allocations: 13.3 MB / 0.6462 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001968/1.024, allocations: 38.12 kB / 0.6462 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02623/1.05, allocations: 14.62 MB / 0.6605 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.05, allocations: 66.69 kB / 0.6605 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/1.05, allocations: 135.8 kB / 0.6607 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006585/1.057, allocations: 2.495 MB / 0.6631 GB, free: 139.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.063, allocations: 1.752 MB / 0.6648 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/1.081, allocations: 17.22 MB / 0.6816 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006738/1.088, allocations: 478 kB / 0.6821 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.089, allocations: 499.7 kB / 0.6826 GB, free: 122.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (807): * Single equations (assignments): 801 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004163/1.093, allocations: 2.373 MB / 0.6849 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.094, allocations: 421.2 kB / 0.6853 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.109, allocations: 9.614 MB / 0.6947 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/1.109, allocations: 32 kB / 0.6947 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/1.109, allocations: 8 kB / 0.6947 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.351e-05/1.109, allocations: 13.83 kB / 0.6947 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/1.137, allocations: 18.13 MB / 0.7124 GB, free: 91.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.137, allocations: 8.875 kB / 0.7124 GB, free: 91.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.14, allocations: 0.5849 MB / 0.713 GB, free: 91.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006114/1.147, allocations: 2.272 MB / 0.7152 GB, free: 88.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006924/1.147, allocations: 127.7 kB / 0.7154 GB, free: 88.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.163, allocations: 15.68 MB / 0.7307 GB, free: 72.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.163, allocations: 0 / 0.7307 GB, free: 72.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/1.183, allocations: 15.12 MB / 0.7454 GB, free: 57.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/1.184, allocations: 483.4 kB / 0.7459 GB, free: 56.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.185, allocations: 51.92 kB / 0.7459 GB, free: 56.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/1.189, allocations: 215.7 kB / 0.7462 GB, free: 56.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009085/1.189, allocations: 241.5 kB / 0.7464 GB, free: 56.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/1.19, allocations: 147.8 kB / 0.7465 GB, free: 56.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003636/1.194, allocations: 2.804 MB / 0.7493 GB, free: 53.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.194, allocations: 3.938 kB / 0.7493 GB, free: 53.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007091/1.201, allocations: 1.405 MB / 0.7506 GB, free: 52.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0199/1.221, allocations: 15.81 MB / 0.7661 GB, free: 36.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.233, allocations: 10.11 MB / 0.776 GB, free: 26.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.233, allocations: 0 / 0.776 GB, free: 26.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00558/1.239, allocations: 4.392 MB / 0.7802 GB, free: 21.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.242, allocations: 0.5069 MB / 0.7807 GB, free: 21.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.288/1.53, allocations: 69.86 MB / 0.849 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004339/1.535, allocations: 3.742 MB / 0.8526 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005085/1.54, allocations: 2.388 MB / 0.8549 GB, free: 166.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003624/1.543, allocations: 2.508 MB / 0.8574 GB, free: 164.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.543, allocations: 0 / 0.8574 GB, free: 164.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2105/1.754, allocations: 116.2 MB / 0.9709 GB, free: 60.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.84, allocations: 10.28 kB / 0.9709 GB, free: 60.77 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[2503]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.840732624055818]