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.001346/0.001346, allocations: 102 kB / 15.98 MB, free: 6.344 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.001289/0.001289, allocations: 200.9 kB / 16.91 MB, free: 6.184 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.59/1.59, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.371/0.371, allocations: 43.49 MB / 313.6 MB, free: 8.273 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.001367/0.001367, allocations: 71.91 kB / 382.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.131, allocations: 57.79 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.238/0.369, allocations: 34.74 MB / 474.7 MB, free: 30.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.3856, allocations: 7.789 MB / 482.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005661/0.3913, allocations: 145.5 kB / 482.7 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.3945, allocations: 1.868 MB / 484.5 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.398, allocations: 1.553 MB / 486.1 MB, free: 24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3992, allocations: 0.5713 MB / 486.7 MB, free: 23.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.4026, allocations: 3.373 MB / 490 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.4054, allocations: 2.731 MB / 492.8 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4071, allocations: 1.275 MB / 494 MB, free: 20.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.4093, allocations: 1.871 MB / 495.9 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005399/0.4098, allocations: 254.7 kB / 496.2 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.4115, allocations: 1.045 MB / 497.2 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.413, allocations: 1.591 MB / 498.8 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.4145, allocations: 1.856 MB / 0.4889 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007363/0.4218, allocations: 5.669 MB / 0.4945 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4219, allocations: 0 / 0.4945 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4219, allocations: 0 / 0.4945 GB, free: 16.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001891/0.4221, allocations: 1.375 kB / 0.4945 GB, free: 16.04 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.009687/0.4318, allocations: 4.026 MB / 0.4984 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4319, allocations: 12.33 kB / 0.4984 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008041/0.4399, allocations: 1.77 MB / 0.5001 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006167/0.4461, allocations: 1.964 MB / 0.5021 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4464, allocations: 192.6 kB / 0.5022 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.4475, allocations: 260.2 kB / 0.5025 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.4612, allocations: 8.431 MB / 0.5107 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.846e-05/0.4613, allocations: 48.58 kB / 0.5108 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.4617, allocations: 127.7 kB / 0.5109 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002381/0.4641, allocations: 1.691 MB / 0.5125 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.4753, allocations: 7.1 MB / 0.5195 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04236/0.5177, allocations: 34.17 MB / 0.5528 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00713/0.5249, allocations: 3.291 MB / 0.5561 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.5269, allocations: 1.458 MB / 0.5575 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006676/0.5336, allocations: 4.353 MB / 0.5617 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.5336, allocations: 47.11 kB / 0.5618 GB, free: 2.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.481e-06/0.5336, allocations: 7.984 kB / 0.5618 GB, free: 2.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03005/0.5637, allocations: 11.54 MB / 0.5731 GB, free: 6.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5638, allocations: 162.9 kB / 0.5732 GB, free: 6.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006085/0.5699, allocations: 3.737 MB / 0.5769 GB, free: 2.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.5703, allocations: 53.7 kB / 0.5769 GB, free: 2.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.5725, allocations: 2.744 MB / 0.5796 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007915/0.5733, allocations: 0.5248 MB / 0.5801 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.5748, allocations: 1.083 MB / 0.5812 GB, free: 14.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5749, allocations: 309.1 kB / 0.5815 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.5773, allocations: 1.701 MB / 0.5831 GB, free: 12.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00516/0.5825, allocations: 5.128 MB / 0.5881 GB, free: 5.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009577/0.5921, allocations: 7.413 MB / 0.5954 GB, free: 12.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.459e-05/0.5922, allocations: 36 kB / 0.5954 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01234/0.6046, allocations: 6.723 MB / 0.602 GB, free: 5.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.6047, allocations: 56 kB / 0.602 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.6048, allocations: 128.4 kB / 0.6021 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.6054, allocations: 316.7 kB / 0.6024 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/0.6091, allocations: 1.248 MB / 0.6037 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.6117, allocations: 2.497 MB / 0.6061 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.6155, allocations: 295.5 kB / 0.6064 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006104/0.6161, allocations: 339.9 kB / 0.6067 GB, free: 0.543 MB / 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.003125/0.6192, allocations: 1.791 MB / 0.6085 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/0.6199, allocations: 316 kB / 0.6088 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.6247, allocations: 2.361 MB / 0.6111 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.6247, allocations: 12 kB / 0.6111 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6247, allocations: 4 kB / 0.6111 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6247, allocations: 7.984 kB / 0.6111 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.6369, allocations: 5.938 MB / 0.6169 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6369, allocations: 0 / 0.6169 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.6377, allocations: 167.8 kB / 0.617 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.6399, allocations: 0.7186 MB / 0.6177 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.64, allocations: 24 kB / 0.6178 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.6464, allocations: 4.82 MB / 0.6225 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6464, allocations: 0 / 0.6225 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.6536, allocations: 4.325 MB / 0.6267 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6552, allocations: 0.5242 MB / 0.6272 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/0.6557, allocations: 28 kB / 0.6272 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.6569, allocations: 67.91 kB / 0.6273 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.6571, allocations: 68.5 kB / 0.6274 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.483e-05/0.6572, allocations: 39.98 kB / 0.6274 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003708/0.6609, allocations: 2.327 MB / 0.6297 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6609, allocations: 0 / 0.6297 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004311/0.6653, allocations: 0.8243 MB / 0.6305 GB, free: 7.918 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.0003731/0.6657, allocations: 151 kB / 0.6306 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006961/0.6726, allocations: 4.421 MB / 0.6349 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6727, allocations: 3.938 kB / 0.6349 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.6743, allocations: 1.112 MB / 0.636 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.677, allocations: 384.7 kB / 0.6364 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.8762, allocations: 8.96 MB / 0.6452 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/0.8786, allocations: 2.788 MB / 0.6479 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003521/0.8821, allocations: 1.659 MB / 0.6495 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.8828, allocations: 210.1 kB / 0.6497 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.8828, allocations: 0 / 0.6497 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.06367/0.9465, allocations: 31.06 MB / 0.68 GB, free: 149.9 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