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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 112.2 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3333/0.3333, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.91 kB / 457.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3064, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02635/0.3328, allocations: 34.73 MB / 0.5403 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.3488, allocations: 7.895 MB / 0.548 GB, free: 8.203 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.356, allocations: 147.8 kB / 0.5482 GB, free: 8.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.3597, allocations: 1.927 MB / 0.55 GB, free: 7.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.3637, allocations: 1.551 MB / 0.5515 GB, free: 6.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3652, allocations: 0.5579 MB / 0.5521 GB, free: 6.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.3702, allocations: 4.76 MB / 0.5567 GB, free: 4.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/0.3738, allocations: 2.536 MB / 0.5592 GB, free: 4.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.376, allocations: 1.109 MB / 0.5603 GB, free: 3.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.3793, allocations: 1.795 MB / 0.5621 GB, free: 2.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009624/0.3803, allocations: 175.7 kB / 0.5622 GB, free: 2.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.3832, allocations: 1.018 MB / 0.5632 GB, free: 2.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.3858, allocations: 1.509 MB / 0.5647 GB, free: 2.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004398/0.3902, allocations: 1.766 MB / 0.5664 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008734/0.3989, allocations: 5.58 MB / 0.5719 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3989, allocations: 0 / 0.5719 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.399, allocations: 0 / 0.5719 GB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000226/0.3992, allocations: 0 / 0.5719 GB, free: 12.85 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.008286/0.4075, allocations: 4.014 MB / 0.5758 GB, free: 8.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4075, allocations: 12.03 kB / 0.5758 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/0.4135, allocations: 1.762 MB / 0.5775 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.4176, allocations: 1.92 MB / 0.5794 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.4177, allocations: 193.2 kB / 0.5796 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004274/0.4182, allocations: 259.7 kB / 0.5798 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.4304, allocations: 8.436 MB / 0.5881 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.4305, allocations: 43.59 kB / 0.5881 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.4308, allocations: 127.9 kB / 0.5882 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002668/0.4335, allocations: 1.699 MB / 0.5899 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.4458, allocations: 7.094 MB / 0.5968 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/0.4842, allocations: 34.16 MB / 0.6302 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007166/0.4914, allocations: 3.28 MB / 0.6334 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.4932, allocations: 1.468 MB / 0.6348 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006976/0.5002, allocations: 4.365 MB / 0.6391 GB, free: 5.863 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5003, allocations: 43.12 kB / 0.6391 GB, free: 5.812 MB / 458.7 MB Notification: Performance of pre-optimization done (n=121): time 4.028e-06/0.5003, allocations: 4 kB / 0.6391 GB, free: 5.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.02711/0.5274, allocations: 11.52 MB / 0.6504 GB, free: 10.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.5275, allocations: 166.8 kB / 0.6505 GB, free: 9.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/0.5322, allocations: 3.721 MB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5323, allocations: 49.7 kB / 0.6542 GB, free: 6.172 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.5341, allocations: 2.748 MB / 0.6569 GB, free: 3.383 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/0.5345, allocations: 0.521 MB / 0.6574 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.5358, allocations: 1.079 MB / 0.6584 GB, free: 1.766 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.5359, allocations: 305.1 kB / 0.6587 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.538, allocations: 1.713 MB / 0.6604 GB, free: 15.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004403/0.5424, allocations: 5.124 MB / 0.6654 GB, free: 8.895 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008086/0.5505, allocations: 7.412 MB / 0.6727 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.738e-05/0.5507, allocations: 36.28 kB / 0.6727 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01085/0.5615, allocations: 6.718 MB / 0.6792 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.5616, allocations: 68.06 kB / 0.6793 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.5617, allocations: 123.9 kB / 0.6794 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.5623, allocations: 316.7 kB / 0.6797 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/0.5658, allocations: 1.244 MB / 0.6809 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.5683, allocations: 2.286 MB / 0.6832 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/0.5718, allocations: 295.4 kB / 0.6835 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/0.5723, allocations: 332.1 kB / 0.6838 GB, free: 4.227 MB / 0.4948 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.003117/0.5755, allocations: 1.788 MB / 0.6855 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.5761, allocations: 312 kB / 0.6858 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.275/0.8511, allocations: 2.357 MB / 0.6881 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/0.8512, allocations: 20.38 kB / 0.6881 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.8512, allocations: 3.719 kB / 0.6881 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/0.8513, allocations: 10.2 kB / 0.6882 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.8655, allocations: 5.92 MB / 0.6939 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.8655, allocations: 5.875 kB / 0.6939 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.8663, allocations: 172.5 kB / 0.6941 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/0.8686, allocations: 0.7113 MB / 0.6948 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.8687, allocations: 25.92 kB / 0.6948 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.8736, allocations: 4.467 MB / 0.6992 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.8736, allocations: 0 / 0.6992 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04545/0.9191, allocations: 26.03 MB / 0.7246 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.9204, allocations: 366.5 kB / 0.725 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/0.9215, allocations: 17.31 kB / 0.725 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.9231, allocations: 67.17 kB / 0.725 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.9234, allocations: 79.19 kB / 0.7251 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.9236, allocations: 39.39 kB / 0.7252 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004395/0.928, allocations: 2.321 MB / 0.7274 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.928, allocations: 0 / 0.7274 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005186/0.9332, allocations: 1.093 MB / 0.7285 GB, free: 127.4 MB / 0.4948 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.0003971/0.9336, allocations: 156.8 kB / 0.7286 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005551/0.9392, allocations: 4.032 MB / 0.7326 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9392, allocations: 0.5938 kB / 0.7326 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.9404, allocations: 1.108 MB / 0.7337 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.9425, allocations: 379.5 kB / 0.734 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.9544, allocations: 9.951 MB / 0.7437 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.9568, allocations: 2.826 MB / 0.7465 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003648/0.9604, allocations: 1.677 MB / 0.7481 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.961, allocations: 208 kB / 0.7483 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.961, allocations: 0 / 0.7483 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.06001/1.021, allocations: 36.16 MB / 0.7836 GB, free: 80.46 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches