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.001067/0.001067, allocations: 98.36 kB / 18.01 MB, free: 5.602 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.001481/0.001481, allocations: 180.8 kB / 18.91 MB, free: 4.738 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.364/1.364, allocations: 223.3 MB / 243 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.195/0.195, allocations: 44.25 MB / 338.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.033/0.1445, allocations: 33.72 MB / 0.4948 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1617, allocations: 7.842 MB / 0.5024 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005909/0.1676, allocations: 143.6 kB / 0.5026 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1693, allocations: 370.2 kB / 0.5029 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.174, allocations: 1.565 MB / 0.5044 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1756, allocations: 0.5538 MB / 0.505 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2421/0.4177, allocations: 4.725 MB / 0.5096 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006048/0.4238, allocations: 3.281 MB / 0.5128 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.4263, allocations: 0.9502 MB / 0.5137 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.4297, allocations: 1.61 MB / 0.5153 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009522/0.4307, allocations: 113.7 kB / 0.5154 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.4333, allocations: 0.9581 MB / 0.5163 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.4355, allocations: 1.434 MB / 0.5177 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.4386, allocations: 1.677 MB / 0.5194 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00544/0.444, allocations: 4.432 MB / 0.5237 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4441, allocations: 0 / 0.5237 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4441, allocations: 4 kB / 0.5237 GB, free: 8.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002159/0.4443, allocations: 1.312 kB / 0.5237 GB, free: 8.562 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.007258/0.4516, allocations: 3.306 MB / 0.5269 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4516, allocations: 8.938 kB / 0.5269 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/0.458, allocations: 1.823 MB / 0.5287 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.4621, allocations: 1.91 MB / 0.5306 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.4622, allocations: 197.3 kB / 0.5308 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008378/0.4631, allocations: 256.1 kB / 0.531 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.4784, allocations: 8.454 MB / 0.5393 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.4786, allocations: 36.22 kB / 0.5393 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.4791, allocations: 121.5 kB / 0.5394 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.4816, allocations: 1.701 MB / 0.5411 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.4957, allocations: 7.112 MB / 0.548 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.5408, allocations: 34.14 MB / 0.5814 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007674/0.5486, allocations: 3.28 MB / 0.5846 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.5506, allocations: 1.465 MB / 0.586 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007547/0.5582, allocations: 4.37 MB / 0.5903 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.5583, allocations: 47.12 kB / 0.5903 GB, free: 12.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.519e-06/0.5583, allocations: 0 / 0.5903 GB, free: 12.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03213/0.5904, allocations: 11.49 MB / 0.6016 GB, free: 1.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5906, allocations: 166.9 kB / 0.6017 GB, free: 1.012 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007113/0.5977, allocations: 3.726 MB / 0.6053 GB, free: 13.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.5981, allocations: 41.7 kB / 0.6054 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.6004, allocations: 2.746 MB / 0.6081 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/0.6012, allocations: 0.5215 MB / 0.6086 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000935/0.6022, allocations: 464.5 kB / 0.609 GB, free: 9.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6023, allocations: 311.6 kB / 0.6093 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.6054, allocations: 1.705 MB / 0.611 GB, free: 7.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005833/0.6112, allocations: 5.124 MB / 0.616 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008945/0.6202, allocations: 7.425 MB / 0.6232 GB, free: 8.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.6204, allocations: 36 kB / 0.6233 GB, free: 8.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01319/0.6336, allocations: 6.717 MB / 0.6298 GB, free: 1.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.6337, allocations: 56.19 kB / 0.6299 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/0.634, allocations: 128 kB / 0.63 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007193/0.6347, allocations: 324.6 kB / 0.6303 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.639, allocations: 1.244 MB / 0.6315 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.642, allocations: 2.286 MB / 0.6338 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/0.6464, allocations: 295.5 kB / 0.634 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.6475, allocations: 330.9 kB / 0.6344 GB, free: 12.88 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.004177/0.6517, allocations: 1.791 MB / 0.6361 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007964/0.6525, allocations: 308 kB / 0.6364 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/0.6579, allocations: 2.363 MB / 0.6387 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.6579, allocations: 20.03 kB / 0.6387 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.658, allocations: 11.88 kB / 0.6387 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.658, allocations: 3.984 kB / 0.6387 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6725, allocations: 5.918 MB / 0.6445 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.6725, allocations: 0 / 0.6445 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.6735, allocations: 171.8 kB / 0.6447 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.6758, allocations: 0.7224 MB / 0.6454 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.6761, allocations: 20 kB / 0.6454 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/0.6822, allocations: 4.469 MB / 0.6498 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6822, allocations: 0 / 0.6498 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/0.6897, allocations: 4.323 MB / 0.654 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6908, allocations: 380.8 kB / 0.6544 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008551/0.6917, allocations: 19.28 kB / 0.6544 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.6935, allocations: 71.91 kB / 0.6545 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.6938, allocations: 72.62 kB / 0.6545 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/0.694, allocations: 36 kB / 0.6546 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005056/0.6991, allocations: 2.323 MB / 0.6568 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.6991, allocations: 0 / 0.6568 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005602/0.7047, allocations: 0.8164 MB / 0.6576 GB, free: 4.82 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.0006106/0.7054, allocations: 162 kB / 0.6578 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007629/0.713, allocations: 4.042 MB / 0.6617 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.7131, allocations: 0 / 0.6617 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.7151, allocations: 1.1 MB / 0.6628 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.7194, allocations: 378 kB / 0.6632 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.738, allocations: 9.392 MB / 0.6723 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/0.7417, allocations: 2.781 MB / 0.675 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.7427, allocations: 251.4 kB / 0.6753 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.7427, allocations: 0 / 0.6753 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of Templates: time 0.3176/1.06, allocations: 63.28 MB / 0.7371 GB, free: 183.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/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