Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 102.5 kB / 16.02 MB, free: 76 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.001122/0.001122, allocations: 185.7 kB / 16.92 MB, free: 6.691 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.79/1.79, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.4149/0.4149, allocations: 43.57 MB / 315 MB, free: 9.07 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.0005974/0.0005974, allocations: 16 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1519, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2962/0.4481, allocations: 29.13 MB / 472.6 MB, free: 32.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.4646, allocations: 6.804 MB / 479.4 MB, free: 29.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007975/0.4726, allocations: 122 kB / 479.5 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.4744, allocations: 442.2 kB / 479.9 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00632/0.4807, allocations: 1.675 MB / 481.6 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4823, allocations: 447.5 kB / 482 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006616/0.4889, allocations: 5.134 MB / 487.2 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.4928, allocations: 2.459 MB / 489.6 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.4945, allocations: 0.9844 MB / 490.6 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.4971, allocations: 1.73 MB / 492.3 MB, free: 25.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005724/0.4977, allocations: 134.3 kB / 492.5 MB, free: 25.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.5003, allocations: 0.9044 MB / 493.4 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.5025, allocations: 1.542 MB / 494.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.5053, allocations: 1.853 MB / 496.8 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.5173, allocations: 5.876 MB / 0.4909 GB, free: 21.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5174, allocations: 1.031 kB / 0.4909 GB, free: 21.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.5174, allocations: 1.375 kB / 0.4909 GB, free: 21.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002618/0.5176, allocations: 0 / 0.4909 GB, free: 21.53 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01115/0.5288, allocations: 3.473 MB / 0.4943 GB, free: 19.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5289, allocations: 9.625 kB / 0.4943 GB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.5411, allocations: 3.166 MB / 0.4974 GB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/0.5468, allocations: 1.955 MB / 0.4993 GB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.5471, allocations: 192.2 kB / 0.4995 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5485, allocations: 254.2 kB / 0.4997 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/0.5712, allocations: 10.71 MB / 0.5102 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.5714, allocations: 25.72 kB / 0.5102 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009249/0.5724, allocations: 116.5 kB / 0.5103 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004883/0.5773, allocations: 2.651 MB / 0.5129 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.5969, allocations: 10.03 MB / 0.5227 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05802/0.6549, allocations: 35.31 MB / 0.5572 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.6655, allocations: 5.175 MB / 0.5622 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003747/0.6693, allocations: 2.299 MB / 0.5645 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/0.6713, allocations: 1.876 MB / 0.5663 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.6715, allocations: 56.5 kB / 0.5663 GB, free: 152 kB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.31e-06/0.6715, allocations: 0 / 0.5663 GB, free: 152 kB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.0358/0.7073, allocations: 14.01 MB / 0.58 GB, free: 2.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.7074, allocations: 77.34 kB / 0.5801 GB, free: 1.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.7122, allocations: 2.672 MB / 0.5827 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006393/0.7129, allocations: 57.7 kB / 0.5828 GB, free: 15.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.7151, allocations: 2.701 MB / 0.5854 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.7165, allocations: 0.848 MB / 0.5862 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000673/0.7171, allocations: 469.8 kB / 0.5867 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7173, allocations: 305.1 kB / 0.587 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.7207, allocations: 2.216 MB / 0.5891 GB, free: 8.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005794/0.7266, allocations: 5.142 MB / 0.5942 GB, free: 2.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.7379, allocations: 8.05 MB / 0.602 GB, free: 8.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.7381, allocations: 36 kB / 0.6021 GB, free: 8.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01646/0.7546, allocations: 7.957 MB / 0.6098 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.7547, allocations: 48 kB / 0.6099 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.7548, allocations: 107.9 kB / 0.61 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.7572, allocations: 0.7973 MB / 0.6107 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.7614, allocations: 1.209 MB / 0.6119 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.7674, allocations: 4.196 MB / 0.616 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/0.7719, allocations: 303.8 kB / 0.6163 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/0.7734, allocations: 304 kB / 0.6166 GB, free: 9.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006133/0.7795, allocations: 2.055 MB / 0.6186 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007932/0.7803, allocations: 272.5 kB / 0.6189 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.7904, allocations: 4.718 MB / 0.6235 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.428e-05/0.7905, allocations: 47.98 kB / 0.6235 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.7905, allocations: 4 kB / 0.6235 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.7906, allocations: 11.97 kB / 0.6235 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.8139, allocations: 10.61 MB / 0.6339 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.814, allocations: 12.19 kB / 0.6339 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.8158, allocations: 359.4 kB / 0.6343 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.818, allocations: 0.656 MB / 0.6349 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/0.8184, allocations: 47.97 kB / 0.6349 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.8234, allocations: 3.666 MB / 0.6385 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.8235, allocations: 17.72 kB / 0.6385 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2649/1.088, allocations: 7.134 MB / 0.6455 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.09, allocations: 0.6505 MB / 0.6461 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/1.091, allocations: 45 kB / 0.6462 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.092, allocations: 143.9 kB / 0.6463 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.092, allocations: 128.1 kB / 0.6464 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.093, allocations: 64.56 kB / 0.6465 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002613/1.095, allocations: 1.648 MB / 0.6481 GB, free: 155 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.095, allocations: 0 / 0.6481 GB, free: 155 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004721/1.1, allocations: 0.9436 MB / 0.649 GB, free: 155 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005131/1.1, allocations: 181.9 kB / 0.6492 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007475/1.108, allocations: 5.382 MB / 0.6545 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.108, allocations: 0 / 0.6545 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/1.11, allocations: 2.018 MB / 0.6564 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.115, allocations: 339.6 kB / 0.6568 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.134, allocations: 11.74 MB / 0.6682 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/1.138, allocations: 3.234 MB / 0.6714 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004674/1.143, allocations: 1.974 MB / 0.6733 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007764/1.143, allocations: 201.7 kB / 0.6735 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/1.143, allocations: 1.094 kB / 0.6735 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.054/1.197, allocations: 29.44 MB / 0.7023 GB, free: 132.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches