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.001123/0.001122, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001799/0.001799, allocations: 194 kB / 18.12 MB, free: 5.363 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2031/0.2031, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 69.86 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1145, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03195/0.1465, allocations: 34.71 MB / 0.4914 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.1646, allocations: 7.905 MB / 0.4992 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007089/0.1718, allocations: 147.6 kB / 0.4993 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.176, allocations: 1.928 MB / 0.5012 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.1806, allocations: 1.538 MB / 0.5027 GB, free: 424 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2641/0.4448, allocations: 0.5538 MB / 0.5032 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01036/0.4552, allocations: 4.741 MB / 0.5079 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005216/0.4605, allocations: 2.544 MB / 0.5103 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.4634, allocations: 1.101 MB / 0.5114 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.4675, allocations: 1.8 MB / 0.5132 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.4684, allocations: 174.8 kB / 0.5133 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.4709, allocations: 1.017 MB / 0.5143 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.4725, allocations: 1.513 MB / 0.5158 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.4743, allocations: 1.768 MB / 0.5175 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.4804, allocations: 5.57 MB / 0.523 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4804, allocations: 3.031 kB / 0.523 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4805, allocations: 0 / 0.523 GB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001847/0.4806, allocations: 4 kB / 0.523 GB, free: 8.504 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.01151/0.4922, allocations: 4.016 MB / 0.5269 GB, free: 6.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.4923, allocations: 11.53 kB / 0.5269 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.5024, allocations: 1.774 MB / 0.5286 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/0.5082, allocations: 1.912 MB / 0.5305 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.5084, allocations: 196.7 kB / 0.5307 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008642/0.5093, allocations: 254.2 kB / 0.5309 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.5334, allocations: 8.433 MB / 0.5392 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.5337, allocations: 38.94 kB / 0.5392 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005756/0.5343, allocations: 128.9 kB / 0.5393 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004342/0.5386, allocations: 1.696 MB / 0.541 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.5603, allocations: 7.102 MB / 0.5479 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06932/0.6297, allocations: 34.15 MB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.6425, allocations: 3.28 MB / 0.5845 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003118/0.6456, allocations: 1.463 MB / 0.5859 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.6565, allocations: 4.36 MB / 0.5902 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.6566, allocations: 45.66 kB / 0.5902 GB, free: 10.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 6.513e-06/0.6566, allocations: 0 / 0.5902 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.04795/0.7046, allocations: 11.52 MB / 0.6015 GB, free: 14.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.7048, allocations: 170.9 kB / 0.6016 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00986/0.7147, allocations: 3.724 MB / 0.6053 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005954/0.7153, allocations: 41.7 kB / 0.6053 GB, free: 10.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004202/0.7196, allocations: 2.753 MB / 0.608 GB, free: 7.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.7211, allocations: 0.5165 MB / 0.6085 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002718/0.7238, allocations: 1.079 MB / 0.6096 GB, free: 6.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.724, allocations: 309 kB / 0.6098 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/0.7271, allocations: 1.709 MB / 0.6115 GB, free: 4.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/0.7327, allocations: 5.125 MB / 0.6165 GB, free: 13.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009064/0.7418, allocations: 7.419 MB / 0.6238 GB, free: 4.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/0.7419, allocations: 36 kB / 0.6238 GB, free: 4.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01374/0.7557, allocations: 6.724 MB / 0.6304 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.7559, allocations: 56 kB / 0.6304 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/0.7562, allocations: 124.8 kB / 0.6305 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/0.757, allocations: 324.6 kB / 0.6309 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/0.7612, allocations: 1.248 MB / 0.6321 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.7641, allocations: 2.281 MB / 0.6343 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/0.7687, allocations: 295.5 kB / 0.6346 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009636/0.7697, allocations: 331.3 kB / 0.6349 GB, free: 9.426 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.004481/0.7742, allocations: 1.787 MB / 0.6366 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007917/0.775, allocations: 308 kB / 0.6369 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/0.7803, allocations: 2.37 MB / 0.6392 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-05/0.7804, allocations: 16 kB / 0.6393 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.7804, allocations: 7.938 kB / 0.6393 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.7804, allocations: 7.828 kB / 0.6393 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.7936, allocations: 5.921 MB / 0.6451 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.7937, allocations: 4 kB / 0.6451 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.7946, allocations: 167.8 kB / 0.6452 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.7968, allocations: 0.7147 MB / 0.6459 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.797, allocations: 20 kB / 0.6459 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/0.8028, allocations: 4.475 MB / 0.6503 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.8029, allocations: 7.938 kB / 0.6503 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/0.81, allocations: 4.319 MB / 0.6545 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.8112, allocations: 364.9 kB / 0.6549 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.8116, allocations: 23.98 kB / 0.6549 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.8127, allocations: 67.91 kB / 0.655 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.813, allocations: 68.61 kB / 0.655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.8131, allocations: 35.94 kB / 0.6551 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004521/0.8176, allocations: 2.331 MB / 0.6573 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8176, allocations: 0 / 0.6573 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004922/0.8226, allocations: 0.8153 MB / 0.6581 GB, free: 1.387 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.0004169/0.823, allocations: 153.6 kB / 0.6583 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006978/0.83, allocations: 4.031 MB / 0.6622 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.83, allocations: 8.188 kB / 0.6622 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.8317, allocations: 1.111 MB / 0.6633 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.8345, allocations: 372.7 kB / 0.6637 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.8505, allocations: 8.946 MB / 0.6724 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/0.8537, allocations: 2.783 MB / 0.6751 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00419/0.8579, allocations: 1.667 MB / 0.6768 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.8586, allocations: 207.4 kB / 0.677 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.8586, allocations: 4 kB / 0.677 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.06085/0.9195, allocations: 29.88 MB / 0.7061 GB, free: 376 kB / 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