Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001608, allocations: 112.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.88 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03304/0.1571, allocations: 34.72 MB / 0.4916 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.1766, allocations: 7.81 MB / 0.4993 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008817/0.1854, allocations: 147.6 kB / 0.4994 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.1898, allocations: 1.862 MB / 0.5012 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.194, allocations: 1.549 MB / 0.5027 GB, free: 476 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2336/0.4276, allocations: 0.5655 MB / 0.5033 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.4334, allocations: 3.357 MB / 0.5066 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003899/0.4374, allocations: 2.727 MB / 0.5092 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.4396, allocations: 1.258 MB / 0.5105 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.4426, allocations: 1.876 MB / 0.5123 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007677/0.4433, allocations: 253.1 kB / 0.5125 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.4458, allocations: 1.045 MB / 0.5135 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.4476, allocations: 1.59 MB / 0.5151 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.4497, allocations: 1.848 MB / 0.5169 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006865/0.4566, allocations: 5.673 MB / 0.5224 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4567, allocations: 2.812 kB / 0.5224 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4567, allocations: 1.375 kB / 0.5224 GB, free: 8.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002145/0.4569, allocations: 4 kB / 0.5225 GB, free: 8.812 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01056/0.4675, allocations: 4.019 MB / 0.5264 GB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.4676, allocations: 10 kB / 0.5264 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006669/0.4742, allocations: 1.773 MB / 0.5281 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.4789, allocations: 1.907 MB / 0.53 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.4791, allocations: 196 kB / 0.5302 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/0.48, allocations: 258.7 kB / 0.5304 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.4961, allocations: 8.438 MB / 0.5387 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.4962, allocations: 42.42 kB / 0.5387 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.4966, allocations: 124.6 kB / 0.5388 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.4996, allocations: 1.7 MB / 0.5405 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.5144, allocations: 7.09 MB / 0.5474 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04307/0.5575, allocations: 34.17 MB / 0.5808 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.5649, allocations: 3.274 MB / 0.584 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.5669, allocations: 1.471 MB / 0.5854 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006971/0.5739, allocations: 4.36 MB / 0.5897 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.574, allocations: 46.22 kB / 0.5897 GB, free: 10.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.988e-06/0.574, allocations: 0 / 0.5897 GB, free: 10.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03155/0.6055, allocations: 11.52 MB / 0.6009 GB, free: 15.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.6057, allocations: 168.5 kB / 0.6011 GB, free: 14.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/0.6126, allocations: 3.721 MB / 0.6047 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.613, allocations: 41.7 kB / 0.6048 GB, free: 11.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.615, allocations: 2.753 MB / 0.6075 GB, free: 8.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008449/0.6158, allocations: 0.5197 MB / 0.608 GB, free: 7.926 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.6175, allocations: 1.08 MB / 0.609 GB, free: 6.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6177, allocations: 308 kB / 0.6093 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.6202, allocations: 1.705 MB / 0.611 GB, free: 4.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/0.6256, allocations: 5.126 MB / 0.616 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00905/0.6346, allocations: 7.421 MB / 0.6232 GB, free: 5.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-05/0.6348, allocations: 36 kB / 0.6233 GB, free: 5.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01321/0.648, allocations: 6.723 MB / 0.6298 GB, free: 14.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.6481, allocations: 62.48 kB / 0.6299 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.6483, allocations: 120.9 kB / 0.63 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/0.649, allocations: 328.6 kB / 0.6303 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/0.6534, allocations: 1.248 MB / 0.6316 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.6565, allocations: 2.493 MB / 0.634 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/0.6625, allocations: 287.5 kB / 0.6343 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/0.6636, allocations: 336 kB / 0.6346 GB, free: 9.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005189/0.6688, allocations: 1.794 MB / 0.6363 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008519/0.6697, allocations: 308.1 kB / 0.6366 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.6753, allocations: 2.367 MB / 0.6389 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.307e-05/0.6754, allocations: 16 kB / 0.639 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.6754, allocations: 7.938 kB / 0.639 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.6754, allocations: 7.984 kB / 0.639 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.6913, allocations: 5.91 MB / 0.6447 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6914, allocations: 4 kB / 0.6447 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/0.6922, allocations: 171.7 kB / 0.6449 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/0.6944, allocations: 0.7224 MB / 0.6456 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.6946, allocations: 20 kB / 0.6456 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/0.7007, allocations: 4.816 MB / 0.6503 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.7007, allocations: 5.016 kB / 0.6503 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.7082, allocations: 4.323 MB / 0.6546 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.7095, allocations: 364.9 kB / 0.6549 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008581/0.7104, allocations: 23.98 kB / 0.6549 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.7121, allocations: 71.97 kB / 0.655 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.7123, allocations: 72.44 kB / 0.6551 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.7125, allocations: 38.66 kB / 0.6551 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005578/0.7181, allocations: 2.323 MB / 0.6574 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7181, allocations: 0 / 0.6574 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006517/0.7246, allocations: 0.8125 MB / 0.6582 GB, free: 1.559 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006874/0.7253, allocations: 158 kB / 0.6583 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008504/0.7338, allocations: 4.416 MB / 0.6626 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.7339, allocations: 7.844 kB / 0.6626 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.7356, allocations: 1.107 MB / 0.6637 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/0.7398, allocations: 400.7 kB / 0.6641 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.7584, allocations: 8.941 MB / 0.6728 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/0.7634, allocations: 2.781 MB / 0.6756 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004775/0.7682, allocations: 1.662 MB / 0.6772 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/0.7692, allocations: 207.4 kB / 0.6774 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.7692, allocations: 3.938 kB / 0.6774 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.2983/1.067, allocations: 31.03 MB / 0.7077 GB, free: 203.6 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches