Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 174 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007345/0.0007342, allocations: 86.81 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3515/0.3515, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003245, allocations: 16 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 58.84 MB / 491.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2731/0.4073, allocations: 31.54 MB / 0.5104 GB, free: 27.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.4305, allocations: 10.65 MB / 0.5208 GB, free: 19.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.4409, allocations: 144.3 kB / 0.521 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4429, allocations: 364.2 kB / 0.5213 GB, free: 19.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.4485, allocations: 1.555 MB / 0.5229 GB, free: 18.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.4504, allocations: 0.5547 MB / 0.5234 GB, free: 18.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005568/0.456, allocations: 4.772 MB / 0.5281 GB, free: 16.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0046/0.4606, allocations: 3.811 MB / 0.5318 GB, free: 14.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.4629, allocations: 1.065 MB / 0.5328 GB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.4654, allocations: 1.605 MB / 0.5344 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000745/0.4662, allocations: 113.6 kB / 0.5345 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4687, allocations: 0.9258 MB / 0.5354 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.4706, allocations: 1.401 MB / 0.5368 GB, free: 13.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.4734, allocations: 1.688 MB / 0.5384 GB, free: 12.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008727/0.4821, allocations: 5.426 MB / 0.5437 GB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.4822, allocations: 4.5 kB / 0.5437 GB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4822, allocations: 0 / 0.5437 GB, free: 10.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002764/0.4825, allocations: 0 / 0.5437 GB, free: 10.59 MB / 378.7 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.008738/0.4913, allocations: 3.309 MB / 0.5469 GB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4913, allocations: 10.06 kB / 0.547 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006989/0.4983, allocations: 1.823 MB / 0.5487 GB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.5036, allocations: 1.963 MB / 0.5507 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.5038, allocations: 188.8 kB / 0.5508 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007611/0.5046, allocations: 265.1 kB / 0.5511 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.5196, allocations: 8.427 MB / 0.5593 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.5197, allocations: 36.69 kB / 0.5594 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.5201, allocations: 127.6 kB / 0.5595 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.5228, allocations: 1.699 MB / 0.5611 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.537, allocations: 7.071 MB / 0.568 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.582, allocations: 34.16 MB / 0.6014 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.5894, allocations: 3.294 MB / 0.6046 GB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.5914, allocations: 1.447 MB / 0.606 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007324/0.5987, allocations: 4.361 MB / 0.6103 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.5988, allocations: 47.06 kB / 0.6103 GB, free: 12.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 3.577e-06/0.5988, allocations: 7.938 kB / 0.6103 GB, free: 12.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.03221/0.6311, allocations: 11.49 MB / 0.6216 GB, free: 1.094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.6312, allocations: 166.9 kB / 0.6217 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008089/0.6393, allocations: 3.702 MB / 0.6253 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003587/0.6397, allocations: 41.7 kB / 0.6254 GB, free: 13.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.6424, allocations: 2.763 MB / 0.6281 GB, free: 10.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.6434, allocations: 0.5171 MB / 0.6286 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005267/0.6439, allocations: 104 kB / 0.6287 GB, free: 9.723 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004968/0.6445, allocations: 0.537 MB / 0.6292 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.6477, allocations: 1.681 MB / 0.6308 GB, free: 7.492 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/0.6537, allocations: 5.108 MB / 0.6358 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6647, allocations: 7.386 MB / 0.643 GB, free: 7.559 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/0.6649, allocations: 36 kB / 0.6431 GB, free: 7.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01819/0.6831, allocations: 6.682 MB / 0.6496 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.6833, allocations: 56 kB / 0.6497 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002779/0.6836, allocations: 128 kB / 0.6498 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008703/0.6845, allocations: 324.7 kB / 0.6501 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/0.6892, allocations: 1.248 MB / 0.6513 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.692, allocations: 2.282 MB / 0.6535 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/0.6971, allocations: 295.5 kB / 0.6538 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.6982, allocations: 332 kB / 0.6541 GB, free: 12.04 MB / 490.7 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.004507/0.7027, allocations: 1.791 MB / 0.6559 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007936/0.7035, allocations: 312 kB / 0.6562 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005289/0.7088, allocations: 2.356 MB / 0.6585 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/0.7089, allocations: 16 kB / 0.6585 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.7089, allocations: 7.984 kB / 0.6585 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.7089, allocations: 15.95 kB / 0.6585 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.7232, allocations: 5.926 MB / 0.6643 GB, free: 1.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.7233, allocations: 0 / 0.6643 GB, free: 1.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.7242, allocations: 175.7 kB / 0.6645 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.7263, allocations: 0.7113 MB / 0.6652 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.7265, allocations: 20 kB / 0.6652 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.7327, allocations: 4.476 MB / 0.6696 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7327, allocations: 0 / 0.6696 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007546/0.7403, allocations: 4.324 MB / 0.6738 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/0.7422, allocations: 0.5398 MB / 0.6743 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009721/0.7432, allocations: 19.98 kB / 0.6743 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.7449, allocations: 71.91 kB / 0.6744 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.7452, allocations: 68.5 kB / 0.6745 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.7453, allocations: 32 kB / 0.6745 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005589/0.7509, allocations: 2.303 MB / 0.6767 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.7509, allocations: 4.062 kB / 0.6767 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005981/0.7569, allocations: 0.8164 MB / 0.6775 GB, free: 3.797 MB / 0.4948 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.0005985/0.7575, allocations: 162.9 kB / 0.6777 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2561/1.014, allocations: 4.001 MB / 0.6816 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.014, allocations: 1.25 kB / 0.6816 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/1.016, allocations: 1.103 MB / 0.6827 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/1.02, allocations: 369.1 kB / 0.683 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.041, allocations: 9.041 MB / 0.6919 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003943/1.045, allocations: 2.787 MB / 0.6946 GB, free: 151 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005214/1.05, allocations: 1.658 MB / 0.6962 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/1.051, allocations: 214.5 kB / 0.6964 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.753e-06/1.051, allocations: 0 / 0.6964 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.08586/1.137, allocations: 29.56 MB / 0.7253 GB, free: 143.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches