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.001115/0.001115, allocations: 116.3 kB / 17.08 MB, free: 6 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.001045/0.001045, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.364/1.364, 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.1998/0.1998, allocations: 43.52 MB / 314.8 MB, free: 472 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.001414/0.001415, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01154/0.1214, allocations: 10.28 MB / 0.4986 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.1295, allocations: 3.784 MB / 0.5023 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.1313, allocations: 55.88 kB / 0.5023 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004281/0.1356, allocations: 1.943 MB / 0.5042 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.1405, allocations: 1.661 MB / 0.5059 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1423, allocations: 0.6122 MB / 0.5065 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.1482, allocations: 3.349 MB / 0.5097 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004514/0.1528, allocations: 2.58 MB / 0.5122 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.1558, allocations: 1.242 MB / 0.5135 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.1597, allocations: 1.682 MB / 0.5151 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.161, allocations: 252 kB / 0.5153 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.1642, allocations: 1.03 MB / 0.5163 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.1667, allocations: 1.582 MB / 0.5179 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003262/0.17, allocations: 1.841 MB / 0.5197 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007987/0.178, allocations: 5.831 MB / 0.5254 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.178, allocations: 0 / 0.5254 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.178, allocations: 0 / 0.5254 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002348/0.1783, allocations: 0 / 0.5254 GB, free: 5.895 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.01015/0.1884, allocations: 4.022 MB / 0.5293 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1885, allocations: 11.89 kB / 0.5293 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006823/0.1953, allocations: 1.782 MB / 0.5311 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2353/0.4306, allocations: 1.986 MB / 0.533 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.4308, allocations: 194.8 kB / 0.5332 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/0.4314, allocations: 253 kB / 0.5334 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.4455, allocations: 8.436 MB / 0.5417 GB, free: 33.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.4456, allocations: 35.22 kB / 0.5417 GB, free: 33.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/0.446, allocations: 128 kB / 0.5418 GB, free: 33.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.4492, allocations: 1.703 MB / 0.5435 GB, free: 33.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.4631, allocations: 7.098 MB / 0.5504 GB, free: 30.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.494, allocations: 34.03 MB / 0.5836 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006905/0.501, allocations: 3.285 MB / 0.5869 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.5028, allocations: 1.474 MB / 0.5883 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00621/0.5091, allocations: 4.356 MB / 0.5925 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.5091, allocations: 47.94 kB / 0.5926 GB, free: 7.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.125e-06/0.5091, allocations: 0 / 0.5926 GB, free: 7.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02984/0.539, allocations: 11.55 MB / 0.6039 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5391, allocations: 170.8 kB / 0.604 GB, free: 11.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/0.5454, allocations: 3.733 MB / 0.6077 GB, free: 7.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.5456, allocations: 41.7 kB / 0.6077 GB, free: 7.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/0.5477, allocations: 2.748 MB / 0.6104 GB, free: 5.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/0.5484, allocations: 0.5209 MB / 0.6109 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/0.5503, allocations: 1.079 MB / 0.612 GB, free: 3.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5505, allocations: 309.1 kB / 0.6123 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.5531, allocations: 1.712 MB / 0.6139 GB, free: 1.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/0.5578, allocations: 5.124 MB / 0.6189 GB, free: 10.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008062/0.5659, allocations: 7.414 MB / 0.6262 GB, free: 1.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.566, allocations: 36 kB / 0.6262 GB, free: 1.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01345/0.5795, allocations: 6.718 MB / 0.6328 GB, free: 10.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.5797, allocations: 56 kB / 0.6328 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/0.5799, allocations: 124 kB / 0.6329 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007149/0.5806, allocations: 317.5 kB / 0.6332 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/0.5846, allocations: 1.248 MB / 0.6345 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.5873, allocations: 2.502 MB / 0.6369 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/0.5911, allocations: 295.5 kB / 0.6372 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008044/0.5919, allocations: 339.8 kB / 0.6375 GB, free: 5.633 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.003305/0.5953, allocations: 1.791 MB / 0.6393 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007484/0.596, allocations: 308 kB / 0.6396 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/0.6011, allocations: 2.367 MB / 0.6419 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/0.6011, allocations: 16 kB / 0.6419 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.6012, allocations: 4 kB / 0.6419 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.6012, allocations: 3.984 kB / 0.6419 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.6139, allocations: 5.909 MB / 0.6477 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.6139, allocations: 4 kB / 0.6477 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.6148, allocations: 179.8 kB / 0.6478 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.617, allocations: 0.7107 MB / 0.6485 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.6172, allocations: 27.98 kB / 0.6486 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/0.6232, allocations: 4.818 MB / 0.6533 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6233, allocations: 4 kB / 0.6533 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/0.6304, allocations: 4.321 MB / 0.6575 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.6318, allocations: 0.5281 MB / 0.658 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007269/0.6325, allocations: 16 kB / 0.658 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.6341, allocations: 72.02 kB / 0.6581 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.6344, allocations: 76.5 kB / 0.6582 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6345, allocations: 32 kB / 0.6582 GB, free: 160 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004164/0.6386, allocations: 2.339 MB / 0.6605 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6387, allocations: 0 / 0.6605 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004803/0.6435, allocations: 0.819 MB / 0.6613 GB, free: 13.02 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.0005198/0.644, allocations: 152.4 kB / 0.6614 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006714/0.6508, allocations: 4.041 MB / 0.6654 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.6508, allocations: 0 / 0.6654 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6525, allocations: 1.114 MB / 0.6665 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.6556, allocations: 401.2 kB / 0.6668 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.6704, allocations: 7.646 MB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004211/0.6747, allocations: 2.793 MB / 0.677 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009718/0.6757, allocations: 247.4 kB / 0.6773 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.6757, allocations: 0 / 0.6773 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.08747/0.7631, allocations: 64.57 MB / 0.7403 GB, free: 11.93 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