Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006356/0.006356, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001339/0.001339, allocations: 190.7 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.7 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3526/0.3526, allocations: 43.48 MB / 313.5 MB, free: 8.586 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1145, allocations: 57.79 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2453/0.3598, allocations: 34.74 MB / 474.6 MB, free: 30.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.3761, allocations: 7.904 MB / 482.5 MB, free: 25.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007662/0.3838, allocations: 149.3 kB / 482.6 MB, free: 25.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.3877, allocations: 1.911 MB / 484.5 MB, free: 24.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.3923, allocations: 1.548 MB / 486.1 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3938, allocations: 0.5592 MB / 486.6 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005672/0.3995, allocations: 4.758 MB / 491.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003864/0.4034, allocations: 2.545 MB / 493.9 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.4063, allocations: 1.1 MB / 495 MB, free: 21.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004562/0.4109, allocations: 1.801 MB / 496.8 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.4129, allocations: 176.2 kB / 497 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.4167, allocations: 1.011 MB / 498 MB, free: 20.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.4201, allocations: 1.519 MB / 499.5 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004187/0.4243, allocations: 1.77 MB / 0.4896 GB, free: 18.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009676/0.434, allocations: 5.566 MB / 0.495 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4341, allocations: 0 / 0.495 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4341, allocations: 0 / 0.495 GB, free: 16.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002962/0.4344, allocations: 1.188 kB / 0.495 GB, free: 16.47 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.01348/0.4479, allocations: 4.025 MB / 0.4989 GB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.448, allocations: 9.406 kB / 0.4989 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007175/0.4551, allocations: 1.776 MB / 0.5007 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.4602, allocations: 1.964 MB / 0.5026 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.4604, allocations: 188.3 kB / 0.5028 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.4615, allocations: 264.9 kB / 0.503 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.4808, allocations: 8.435 MB / 0.5113 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.481, allocations: 42.94 kB / 0.5113 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.4815, allocations: 124.2 kB / 0.5114 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003228/0.4847, allocations: 1.698 MB / 0.5131 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.4975, allocations: 7.091 MB / 0.52 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04714/0.5447, allocations: 34.17 MB / 0.5534 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008301/0.5531, allocations: 3.286 MB / 0.5566 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.5556, allocations: 1.451 MB / 0.558 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008261/0.5638, allocations: 4.369 MB / 0.5623 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.5639, allocations: 51.06 kB / 0.5623 GB, free: 1.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.106e-06/0.5639, allocations: 3.938 kB / 0.5623 GB, free: 1.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02875/0.5927, allocations: 11.55 MB / 0.5736 GB, free: 6.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.5928, allocations: 170.9 kB / 0.5738 GB, free: 5.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/0.5983, allocations: 3.733 MB / 0.5774 GB, free: 2.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000266/0.5986, allocations: 45.7 kB / 0.5774 GB, free: 2.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.6006, allocations: 2.744 MB / 0.5801 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.6012, allocations: 0.5171 MB / 0.5806 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.6025, allocations: 1.079 MB / 0.5817 GB, free: 13.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6027, allocations: 313 kB / 0.582 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.6051, allocations: 1.705 MB / 0.5836 GB, free: 11.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.6099, allocations: 5.135 MB / 0.5887 GB, free: 4.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/0.6191, allocations: 7.413 MB / 0.5959 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.525e-05/0.6192, allocations: 39.94 kB / 0.5959 GB, free: 11.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01268/0.6319, allocations: 6.73 MB / 0.6025 GB, free: 5.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.632, allocations: 56 kB / 0.6026 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.6321, allocations: 123.9 kB / 0.6027 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.6327, allocations: 317.1 kB / 0.603 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.6362, allocations: 1.248 MB / 0.6042 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.6389, allocations: 2.282 MB / 0.6064 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.6427, allocations: 291.5 kB / 0.6067 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/0.6432, allocations: 331.9 kB / 0.607 GB, free: 252 kB / 478.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.002935/0.6462, allocations: 1.795 MB / 0.6088 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/0.6467, allocations: 308 kB / 0.6091 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.6512, allocations: 2.367 MB / 0.6114 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.6513, allocations: 16 kB / 0.6114 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6513, allocations: 7.938 kB / 0.6114 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6513, allocations: 3.984 kB / 0.6114 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.6622, allocations: 5.931 MB / 0.6172 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6622, allocations: 4 kB / 0.6172 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.663, allocations: 171.7 kB / 0.6174 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.665, allocations: 0.7108 MB / 0.6181 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.6651, allocations: 27.98 kB / 0.6181 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/0.671, allocations: 4.471 MB / 0.6225 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.671, allocations: 1.016 kB / 0.6225 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006676/0.6777, allocations: 4.33 MB / 0.6267 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.6789, allocations: 0.5282 MB / 0.6272 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.6793, allocations: 24.17 kB / 0.6272 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6804, allocations: 76.3 kB / 0.6273 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.6806, allocations: 68.5 kB / 0.6274 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.6807, allocations: 36 kB / 0.6274 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003583/0.6843, allocations: 2.331 MB / 0.6297 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6843, allocations: 0 / 0.6297 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004236/0.6886, allocations: 0.828 MB / 0.6305 GB, free: 7.953 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.0003851/0.689, allocations: 155 kB / 0.6306 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.6952, allocations: 4.029 MB / 0.6346 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6952, allocations: 0 / 0.6346 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.6968, allocations: 1.116 MB / 0.6357 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.6992, allocations: 371.6 kB / 0.636 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2551/0.9544, allocations: 8.948 MB / 0.6447 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/0.9571, allocations: 2.791 MB / 0.6475 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003977/0.9611, allocations: 1.659 MB / 0.6491 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.9617, allocations: 211.9 kB / 0.6493 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.9618, allocations: 4 kB / 0.6493 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.06297/1.025, allocations: 29.9 MB / 0.6785 GB, free: 122.2 MB / 0.4981 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