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.001338/0.001338, allocations: 113.2 kB / 17.08 MB, free: 5.992 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.00128/0.00128, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 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.001377/0.001377, allocations: 70.03 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1013, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01016/0.1116, allocations: 10.28 MB / 0.4986 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00725/0.1189, allocations: 3.787 MB / 0.5023 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.1206, allocations: 55.88 kB / 0.5023 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.1245, allocations: 1.943 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.1287, allocations: 1.657 MB / 0.5059 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1301, allocations: 0.6121 MB / 0.5065 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.1343, allocations: 3.353 MB / 0.5097 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.1372, allocations: 2.576 MB / 0.5122 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.139, allocations: 1.253 MB / 0.5135 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.1412, allocations: 1.678 MB / 0.5151 GB, free: 452 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005505/0.1417, allocations: 252 kB / 0.5153 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1436, allocations: 1.03 MB / 0.5163 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.145, allocations: 1.586 MB / 0.5179 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1469, allocations: 1.833 MB / 0.5197 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.1529, allocations: 5.835 MB / 0.5254 GB, free: 5.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1529, allocations: 0 / 0.5254 GB, free: 5.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1529, allocations: 0 / 0.5254 GB, free: 5.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.1531, allocations: 0 / 0.5254 GB, free: 5.875 MB / 414.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.007307/0.1604, allocations: 4.022 MB / 0.5293 GB, free: 1.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1604, allocations: 11.89 kB / 0.5293 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2239/0.3844, allocations: 1.774 MB / 0.5311 GB, free: 37.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.3886, allocations: 1.994 MB / 0.533 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.3888, allocations: 195.3 kB / 0.5332 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007919/0.3896, allocations: 251.6 kB / 0.5334 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.4052, allocations: 8.441 MB / 0.5417 GB, free: 33.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.4054, allocations: 37.42 kB / 0.5417 GB, free: 33.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/0.4061, allocations: 122 kB / 0.5418 GB, free: 33.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.4097, allocations: 1.704 MB / 0.5435 GB, free: 33.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.4253, allocations: 7.099 MB / 0.5504 GB, free: 30.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/0.4616, allocations: 34.03 MB / 0.5837 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.4687, allocations: 3.281 MB / 0.5869 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.4706, allocations: 1.471 MB / 0.5883 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007043/0.4776, allocations: 4.356 MB / 0.5925 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4777, allocations: 51.06 kB / 0.5926 GB, free: 7.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.418e-06/0.4777, allocations: 0 / 0.5926 GB, free: 7.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02964/0.5074, allocations: 11.54 MB / 0.6039 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.5075, allocations: 170.8 kB / 0.604 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005085/0.5126, allocations: 3.733 MB / 0.6077 GB, free: 7.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.5128, allocations: 41.7 kB / 0.6077 GB, free: 7.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.5146, allocations: 2.748 MB / 0.6104 GB, free: 4.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.5152, allocations: 0.5209 MB / 0.6109 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.5165, allocations: 1.087 MB / 0.612 GB, free: 3.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5166, allocations: 301.1 kB / 0.6123 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.5189, allocations: 1.701 MB / 0.6139 GB, free: 1.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/0.5234, allocations: 5.128 MB / 0.6189 GB, free: 10.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008448/0.5319, allocations: 7.422 MB / 0.6262 GB, free: 1.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.5321, allocations: 32 kB / 0.6262 GB, free: 1.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01214/0.5442, allocations: 6.722 MB / 0.6328 GB, free: 10.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.5444, allocations: 59.98 kB / 0.6328 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/0.5446, allocations: 125.8 kB / 0.6329 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007508/0.5454, allocations: 324.7 kB / 0.6333 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/0.5493, allocations: 1.248 MB / 0.6345 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.5521, allocations: 2.489 MB / 0.6369 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/0.5559, allocations: 291.5 kB / 0.6372 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000825/0.5568, allocations: 339.9 kB / 0.6375 GB, free: 5.609 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.003322/0.5601, allocations: 1.789 MB / 0.6393 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/0.5608, allocations: 315.8 kB / 0.6396 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.5659, allocations: 2.359 MB / 0.6419 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/0.566, allocations: 16 kB / 0.6419 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.566, allocations: 7.938 kB / 0.6419 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.566, allocations: 7.984 kB / 0.6419 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.5786, allocations: 5.913 MB / 0.6477 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5786, allocations: 8.062 kB / 0.6477 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.5795, allocations: 179.8 kB / 0.6478 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.5817, allocations: 0.7147 MB / 0.6485 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.5819, allocations: 20 kB / 0.6486 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006017/0.5879, allocations: 4.808 MB / 0.6533 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5879, allocations: 4.031 kB / 0.6533 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006968/0.5949, allocations: 4.329 MB / 0.6575 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.5963, allocations: 0.5282 MB / 0.658 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007084/0.5971, allocations: 23.94 kB / 0.658 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5985, allocations: 67.97 kB / 0.6581 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.5988, allocations: 76.44 kB / 0.6582 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5989, allocations: 32 kB / 0.6582 GB, free: 132 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00479/0.6037, allocations: 2.335 MB / 0.6605 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6037, allocations: 0 / 0.6605 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004702/0.6084, allocations: 0.819 MB / 0.6613 GB, free: 12.99 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.0004812/0.6089, allocations: 152.4 kB / 0.6614 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006494/0.6154, allocations: 4.041 MB / 0.6654 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6155, allocations: 0 / 0.6654 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.6171, allocations: 1.109 MB / 0.6665 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.62, allocations: 399.6 kB / 0.6668 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.6341, allocations: 7.653 MB / 0.6743 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/0.6379, allocations: 2.782 MB / 0.677 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009572/0.6389, allocations: 255.4 kB / 0.6773 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.6389, allocations: 0 / 0.6773 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.0954/0.7343, allocations: 65.09 MB / 0.7408 GB, free: 11.39 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches