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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009917/0.0009916, allocations: 100.8 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3273/0.3273, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1285, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2651/0.3937, allocations: 34.74 MB / 0.5095 GB, free: 36.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.4117, allocations: 7.9 MB / 0.5172 GB, free: 35.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008365/0.4201, allocations: 148.2 kB / 0.5174 GB, free: 35.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.4237, allocations: 1.927 MB / 0.5193 GB, free: 34.72 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.4282, allocations: 1.538 MB / 0.5208 GB, free: 34.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.4297, allocations: 0.5568 MB / 0.5213 GB, free: 34.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.4354, allocations: 4.786 MB / 0.526 GB, free: 32.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.4389, allocations: 2.543 MB / 0.5285 GB, free: 31.94 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.4412, allocations: 1.11 MB / 0.5295 GB, free: 31.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.4439, allocations: 1.805 MB / 0.5313 GB, free: 31.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008269/0.4448, allocations: 172.6 kB / 0.5315 GB, free: 31.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.4472, allocations: 1.008 MB / 0.5325 GB, free: 30.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.449, allocations: 1.509 MB / 0.5339 GB, free: 30.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.451, allocations: 1.778 MB / 0.5357 GB, free: 29.14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.4572, allocations: 5.567 MB / 0.5411 GB, free: 27.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4572, allocations: 0 / 0.5411 GB, free: 27.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4572, allocations: 0 / 0.5411 GB, free: 27.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.4575, allocations: 0 / 0.5411 GB, free: 27.3 MB / 394.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.009668/0.4671, allocations: 4.027 MB / 0.545 GB, free: 25.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4672, allocations: 9.188 kB / 0.545 GB, free: 25.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006454/0.4737, allocations: 1.766 MB / 0.5468 GB, free: 24.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/0.4775, allocations: 1.96 MB / 0.5487 GB, free: 23.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4776, allocations: 195.1 kB / 0.5489 GB, free: 23.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.4781, allocations: 261.5 kB / 0.5491 GB, free: 23.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.494, allocations: 8.434 MB / 0.5574 GB, free: 19.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.4941, allocations: 40.06 kB / 0.5574 GB, free: 19.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.4944, allocations: 126.5 kB / 0.5575 GB, free: 19.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/0.4974, allocations: 1.704 MB / 0.5592 GB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.5108, allocations: 7.096 MB / 0.5661 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04189/0.5527, allocations: 34.17 MB / 0.5995 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007204/0.56, allocations: 3.292 MB / 0.6027 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.562, allocations: 1.464 MB / 0.6041 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006951/0.5689, allocations: 4.353 MB / 0.6084 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.569, allocations: 51 kB / 0.6084 GB, free: 3.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 4.217e-06/0.569, allocations: 0 / 0.6084 GB, free: 3.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.02777/0.5968, allocations: 11.54 MB / 0.6197 GB, free: 8.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.5969, allocations: 166.9 kB / 0.6199 GB, free: 8.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.6018, allocations: 3.73 MB / 0.6235 GB, free: 4.375 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.6021, allocations: 45.7 kB / 0.6235 GB, free: 4.324 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.604, allocations: 2.755 MB / 0.6262 GB, free: 1.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/0.6046, allocations: 0.5204 MB / 0.6267 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.6059, allocations: 1.081 MB / 0.6278 GB, free: 15.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.606, allocations: 309.1 kB / 0.6281 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.6083, allocations: 1.701 MB / 0.6297 GB, free: 13.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.6132, allocations: 5.139 MB / 0.6348 GB, free: 7.094 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.6215, allocations: 7.407 MB / 0.642 GB, free: 13.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.4e-05/0.6217, allocations: 32 kB / 0.642 GB, free: 13.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01156/0.6332, allocations: 6.729 MB / 0.6486 GB, free: 7.211 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.6334, allocations: 60.25 kB / 0.6487 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.6335, allocations: 127.9 kB / 0.6488 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6341, allocations: 320.7 kB / 0.6491 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/0.6377, allocations: 1.244 MB / 0.6503 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.6402, allocations: 2.285 MB / 0.6525 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/0.6439, allocations: 287.6 kB / 0.6528 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/0.6443, allocations: 339.9 kB / 0.6531 GB, free: 2.434 MB / 474.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.002732/0.6471, allocations: 1.802 MB / 0.6549 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.6476, allocations: 312 kB / 0.6552 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/0.6525, allocations: 2.372 MB / 0.6575 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/0.6525, allocations: 20 kB / 0.6575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.6525, allocations: 7.938 kB / 0.6575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6526, allocations: 7.969 kB / 0.6575 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.6646, allocations: 5.928 MB / 0.6633 GB, free: 7.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.6646, allocations: 64 / 0.6633 GB, free: 7.996 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.6655, allocations: 175.8 kB / 0.6635 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.6677, allocations: 0.7147 MB / 0.6642 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.6678, allocations: 19.94 kB / 0.6642 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.6734, allocations: 4.466 MB / 0.6686 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6734, allocations: 7.969 kB / 0.6686 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04628/0.7197, allocations: 26.15 MB / 0.6941 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.7209, allocations: 0.5321 MB / 0.6946 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.7212, allocations: 19.94 kB / 0.6947 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7222, allocations: 74.39 kB / 0.6947 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.7225, allocations: 68.64 kB / 0.6948 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/0.7226, allocations: 43.92 kB / 0.6948 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003437/0.726, allocations: 2.331 MB / 0.6971 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.726, allocations: 0 / 0.6971 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005092/0.7311, allocations: 1.098 MB / 0.6982 GB, free: 3.848 MB / 0.5105 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.000487/0.7316, allocations: 157.7 kB / 0.6983 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2046/0.9362, allocations: 4.02 MB / 0.7023 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/0.9363, allocations: 1.125 kB / 0.7023 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.9385, allocations: 1.111 MB / 0.7034 GB, free: 172 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.9412, allocations: 378.1 kB / 0.7037 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.9575, allocations: 9.975 MB / 0.7135 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.9605, allocations: 2.832 MB / 0.7162 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004155/0.9647, allocations: 1.67 MB / 0.7179 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/0.9654, allocations: 216.7 kB / 0.7181 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/0.9654, allocations: 0 / 0.7181 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.06573/1.031, allocations: 36.18 MB / 0.7534 GB, free: 155.7 MB / 0.5105 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@2/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