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.001103/0.00111, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 173.1 kB / 16.58 MB, free: 6.844 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.675/1.675, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4248/0.4248, allocations: 43.57 MB / 314.6 MB, free: 8.711 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.0005986/0.0005986, allocations: 16 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.143, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2539/0.3969, allocations: 31.44 MB / 474.2 MB, free: 32.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.4133, allocations: 7.435 MB / 481.7 MB, free: 27.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007014/0.4204, allocations: 146.5 kB / 481.8 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005129/0.4256, allocations: 1.572 MB / 483.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.4392, allocations: 4.846 MB / 488.2 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.4415, allocations: 0.5093 MB / 488.8 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005997/0.4475, allocations: 3.797 MB / 492.6 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005552/0.4531, allocations: 2.952 MB / 495.5 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.4555, allocations: 1.051 MB / 496.6 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.4582, allocations: 1.592 MB / 498.1 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005562/0.4588, allocations: 113.9 kB / 498.3 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.4608, allocations: 0.7988 MB / 499.1 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.4626, allocations: 1.398 MB / 0.4887 GB, free: 21.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000829/0.4634, allocations: 0.6979 MB / 0.4894 GB, free: 20.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.4697, allocations: 4.434 MB / 0.4937 GB, free: 19.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4697, allocations: 0 / 0.4937 GB, free: 19.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4697, allocations: 0 / 0.4937 GB, free: 19.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002173/0.47, allocations: 0 / 0.4937 GB, free: 19.64 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.0084/0.4784, allocations: 3.358 MB / 0.497 GB, free: 17.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.4784, allocations: 13.27 kB / 0.497 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.4848, allocations: 1.824 MB / 0.4988 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.4897, allocations: 1.933 MB / 0.5007 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.49, allocations: 188.2 kB / 0.5009 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008852/0.4908, allocations: 261.6 kB / 0.5011 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.5062, allocations: 8.423 MB / 0.5094 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.5063, allocations: 45.66 kB / 0.5094 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.5067, allocations: 122.1 kB / 0.5095 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002508/0.5092, allocations: 1.699 MB / 0.5112 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.5214, allocations: 7.072 MB / 0.5181 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/0.5642, allocations: 34.15 MB / 0.5514 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/0.5715, allocations: 3.259 MB / 0.5546 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.5736, allocations: 1.463 MB / 0.556 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007742/0.5814, allocations: 4.373 MB / 0.5603 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5815, allocations: 43.12 kB / 0.5604 GB, free: 5.699 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.07e-06/0.5815, allocations: 0 / 0.5604 GB, free: 5.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02843/0.6099, allocations: 11.49 MB / 0.5716 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6101, allocations: 170.9 kB / 0.5717 GB, free: 9.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.6157, allocations: 3.718 MB / 0.5754 GB, free: 6.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.616, allocations: 41.7 kB / 0.5754 GB, free: 6.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.6182, allocations: 2.748 MB / 0.5781 GB, free: 3.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/0.619, allocations: 0.5249 MB / 0.5786 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.6192, allocations: 100 kB / 0.5787 GB, free: 2.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.6196, allocations: 0.5253 MB / 0.5792 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.6223, allocations: 1.689 MB / 0.5809 GB, free: 456 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.6273, allocations: 5.116 MB / 0.5859 GB, free: 9.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/0.6316, allocations: 2.874 MB / 0.5887 GB, free: 6.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-05/0.6317, allocations: 39.95 kB / 0.5887 GB, free: 6.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01212/0.6438, allocations: 6.68 MB / 0.5952 GB, free: 15.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.6439, allocations: 60 kB / 0.5953 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.6441, allocations: 120 kB / 0.5954 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.6447, allocations: 332.7 kB / 0.5957 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/0.6487, allocations: 1.248 MB / 0.5969 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.6514, allocations: 2.303 MB / 0.5992 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/0.6556, allocations: 291.5 kB / 0.5995 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008912/0.6565, allocations: 332 kB / 0.5998 GB, free: 11.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003965/0.6604, allocations: 1.788 MB / 0.6015 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.6611, allocations: 308 kB / 0.6018 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.6659, allocations: 2.355 MB / 0.6041 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-05/0.666, allocations: 20 kB / 0.6041 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.666, allocations: 7.938 kB / 0.6041 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.666, allocations: 7.922 kB / 0.6042 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.6792, allocations: 5.919 MB / 0.6099 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6793, allocations: 4.062 kB / 0.6099 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.6801, allocations: 175.8 kB / 0.6101 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.6821, allocations: 0.7137 MB / 0.6108 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.6823, allocations: 20 kB / 0.6108 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/0.6882, allocations: 4.466 MB / 0.6152 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6882, allocations: 4.062 kB / 0.6152 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/0.6954, allocations: 4.324 MB / 0.6194 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.697, allocations: 0.5321 MB / 0.6199 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/0.6975, allocations: 24 kB / 0.62 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6987, allocations: 67.91 kB / 0.62 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.6988, allocations: 72.52 kB / 0.6201 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.296e-05/0.6989, allocations: 44.03 kB / 0.6201 GB, free: 6.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004523/0.7035, allocations: 2.311 MB / 0.6224 GB, free: 3.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7035, allocations: 0 / 0.6224 GB, free: 3.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005611/0.7091, allocations: 0.8164 MB / 0.6232 GB, free: 2.953 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/0.7096, allocations: 151 kB / 0.6233 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2493/0.959, allocations: 3.997 MB / 0.6272 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.959, allocations: 6.062 kB / 0.6272 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.9608, allocations: 1.107 MB / 0.6283 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.9641, allocations: 372.5 kB / 0.6287 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.978, allocations: 8.64 MB / 0.6371 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/0.9807, allocations: 2.807 MB / 0.6398 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003985/0.9847, allocations: 1.657 MB / 0.6415 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.9854, allocations: 212.3 kB / 0.6417 GB, free: 118 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.9854, allocations: 0 / 0.6417 GB, free: 118 MB / 494.1 MB Notification: Performance of Templates: time 0.0637/1.049, allocations: 28.95 MB / 0.6699 GB, free: 109.5 MB / 494.1 MB 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