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.001321/0.001321, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001356/0.001357, allocations: 183.9 kB / 18.71 MB, free: 4.367 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2101/0.2101, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01129/0.3847, allocations: 10.27 MB / 0.5289 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.3932, allocations: 3.78 MB / 0.5326 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.3947, allocations: 58.19 kB / 0.5327 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.3984, allocations: 1.946 MB / 0.5346 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.4027, allocations: 1.658 MB / 0.5362 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4042, allocations: 0.6083 MB / 0.5368 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004596/0.4088, allocations: 3.335 MB / 0.54 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003722/0.4125, allocations: 2.58 MB / 0.5426 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.4161, allocations: 1.242 MB / 0.5438 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.421, allocations: 1.682 MB / 0.5454 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009815/0.422, allocations: 259.9 kB / 0.5457 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.4257, allocations: 1.034 MB / 0.5467 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.4283, allocations: 1.57 MB / 0.5482 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.4315, allocations: 1.833 MB / 0.55 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00913/0.4407, allocations: 5.825 MB / 0.5557 GB, free: 6.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.4407, allocations: 0 / 0.5557 GB, free: 6.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4407, allocations: 0 / 0.5557 GB, free: 6.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.4409, allocations: 0 / 0.5557 GB, free: 6.258 MB / 414.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.01219/0.4531, allocations: 4.03 MB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4532, allocations: 12.03 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009845/0.463, allocations: 1.77 MB / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/0.4693, allocations: 1.947 MB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.4696, allocations: 193.2 kB / 0.5635 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008745/0.4705, allocations: 251.8 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/0.4925, allocations: 8.436 MB / 0.5719 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.4927, allocations: 43.69 kB / 0.572 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005996/0.4933, allocations: 123.9 kB / 0.5721 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004807/0.4982, allocations: 1.699 MB / 0.5738 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.5187, allocations: 7.091 MB / 0.5807 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/0.5823, allocations: 34.03 MB / 0.6139 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.596, allocations: 3.275 MB / 0.6171 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.5994, allocations: 1.458 MB / 0.6185 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.6111, allocations: 4.377 MB / 0.6228 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.6113, allocations: 47.12 kB / 0.6228 GB, free: 15.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 8.095e-06/0.6113, allocations: 0 / 0.6228 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.04636/0.6577, allocations: 11.52 MB / 0.6341 GB, free: 3.617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.6578, allocations: 162.9 kB / 0.6343 GB, free: 3.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008897/0.6667, allocations: 3.729 MB / 0.6379 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004898/0.6673, allocations: 41.7 kB / 0.6379 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003163/0.6705, allocations: 2.748 MB / 0.6406 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009304/0.6714, allocations: 0.5209 MB / 0.6411 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.6732, allocations: 1.075 MB / 0.6422 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.6733, allocations: 305.1 kB / 0.6425 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.6758, allocations: 1.712 MB / 0.6441 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/0.682, allocations: 5.128 MB / 0.6491 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009329/0.6913, allocations: 7.414 MB / 0.6564 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.856e-05/0.6914, allocations: 40 kB / 0.6564 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01137/0.7028, allocations: 6.714 MB / 0.663 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.7029, allocations: 63.94 kB / 0.663 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.703, allocations: 120 kB / 0.6632 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.7036, allocations: 320.7 kB / 0.6635 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.7071, allocations: 1.24 MB / 0.6647 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.7097, allocations: 2.5 MB / 0.6671 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.713, allocations: 291.4 kB / 0.6674 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/0.7135, allocations: 336.1 kB / 0.6677 GB, free: 13.49 MB / 0.5294 GB 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.002453/0.7159, allocations: 1.791 MB / 0.6695 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.7164, allocations: 308 kB / 0.6698 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/0.721, allocations: 2.367 MB / 0.6721 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.721, allocations: 16 kB / 0.6721 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.7211, allocations: 4 kB / 0.6721 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.7211, allocations: 7.969 kB / 0.6721 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.7319, allocations: 5.906 MB / 0.6779 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7319, allocations: 0 / 0.6779 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.7327, allocations: 175.7 kB / 0.678 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.7347, allocations: 0.7186 MB / 0.6787 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/0.7348, allocations: 23.98 kB / 0.6788 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006574/0.7414, allocations: 4.817 MB / 0.6835 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7414, allocations: 0 / 0.6835 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006522/0.748, allocations: 4.332 MB / 0.6877 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/0.749, allocations: 361.5 kB / 0.688 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/0.7496, allocations: 24 kB / 0.6881 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7508, allocations: 67.95 kB / 0.6881 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.751, allocations: 72.5 kB / 0.6882 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.7511, allocations: 35.98 kB / 0.6882 GB, free: 8.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003391/0.7545, allocations: 2.323 MB / 0.6905 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7545, allocations: 4.062 kB / 0.6905 GB, free: 5.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004/0.7585, allocations: 0.8242 MB / 0.6913 GB, free: 5.051 MB / 0.545 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.0004325/0.759, allocations: 149.1 kB / 0.6914 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006642/0.7656, allocations: 4.045 MB / 0.6954 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.7657, allocations: 0.6875 kB / 0.6954 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.7673, allocations: 1.115 MB / 0.6965 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.7699, allocations: 390.5 kB / 0.6969 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.7823, allocations: 7.252 MB / 0.7039 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003673/0.786, allocations: 2.785 MB / 0.7067 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003951/0.79, allocations: 1.668 MB / 0.7083 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/0.7907, allocations: 215.4 kB / 0.7085 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.7907, allocations: 0 / 0.7085 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.3516/1.142, allocations: 27.74 MB / 0.7356 GB, free: 182.9 MB / 0.5762 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