Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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 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 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) 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001316, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.001338/0.001338, allocations: 192 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.31 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02391/0.1748, allocations: 12.31 MB / 483 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1882, allocations: 3.94 MB / 487 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.1903, allocations: 59.88 kB / 487 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.1948, allocations: 1.315 MB / 488.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006642/0.2015, allocations: 1.751 MB / 490.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2034, allocations: 487 kB / 490.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00707/0.2105, allocations: 3.589 MB / 494.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003514/0.214, allocations: 2.032 MB / 496.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.217, allocations: 1.199 MB / 497.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.2199, allocations: 1.717 MB / 499.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005768/0.2205, allocations: 236 kB / 499.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2223, allocations: 0.9478 MB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.2236, allocations: 1.593 MB / 0.4901 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.2256, allocations: 1.902 MB / 0.492 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.2316, allocations: 6.239 MB / 0.4981 GB, free: 6.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.2316, allocations: 3.984 kB / 0.4981 GB, free: 6.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.2316, allocations: 0 / 0.4981 GB, free: 6.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.2317, allocations: 0 / 0.4981 GB, free: 6.152 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008476/0.2402, allocations: 4.148 MB / 0.5021 GB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2403, allocations: 8.031 kB / 0.5021 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2129/0.4532, allocations: 3.068 MB / 0.5051 GB, free: 46.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.4588, allocations: 1.908 MB / 0.507 GB, free: 45.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.4592, allocations: 190.8 kB / 0.5072 GB, free: 45.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.4607, allocations: 251.1 kB / 0.5074 GB, free: 45.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4802, allocations: 10.49 MB / 0.5176 GB, free: 41.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.4804, allocations: 24.28 kB / 0.5177 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.4816, allocations: 125 kB / 0.5178 GB, free: 41.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004017/0.4856, allocations: 2.551 MB / 0.5203 GB, free: 41.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/0.5019, allocations: 9.924 MB / 0.53 GB, free: 33.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0369/0.5388, allocations: 34.27 MB / 0.5634 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009748/0.5486, allocations: 5.188 MB / 0.5685 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/0.552, allocations: 2.295 MB / 0.5707 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.5538, allocations: 1.88 MB / 0.5726 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.5539, allocations: 52.56 kB / 0.5726 GB, free: 4.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=229): time 4.458e-06/0.5539, allocations: 0 / 0.5726 GB, free: 4.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=235): time 0.03163/0.5855, allocations: 13.98 MB / 0.5863 GB, free: 6.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5856, allocations: 69.41 kB / 0.5863 GB, free: 6.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.589, allocations: 2.639 MB / 0.5889 GB, free: 3.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002958/0.5893, allocations: 57.7 kB / 0.589 GB, free: 3.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.5909, allocations: 2.628 MB / 0.5915 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008463/0.5918, allocations: 0.8518 MB / 0.5924 GB, free: 36 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.5932, allocations: 1.044 MB / 0.5934 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5933, allocations: 305.1 kB / 0.5937 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.5966, allocations: 2.208 MB / 0.5958 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.6018, allocations: 5.071 MB / 0.6008 GB, free: 5.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009395/0.6112, allocations: 7.976 MB / 0.6086 GB, free: 12.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.425e-05/0.6113, allocations: 28 kB / 0.6086 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01564/0.627, allocations: 7.884 MB / 0.6163 GB, free: 4.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.6271, allocations: 47.44 kB / 0.6164 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.6273, allocations: 100 kB / 0.6164 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.6294, allocations: 0.7963 MB / 0.6172 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/0.6334, allocations: 1.181 MB / 0.6184 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.6393, allocations: 4.534 MB / 0.6228 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.6431, allocations: 291.8 kB / 0.6231 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000636/0.6438, allocations: 296 kB / 0.6234 GB, free: 13.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004436/0.6482, allocations: 2.02 MB / 0.6253 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.6488, allocations: 260.6 kB / 0.6256 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007732/0.6566, allocations: 4.728 MB / 0.6302 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/0.6566, allocations: 52.06 kB / 0.6303 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6567, allocations: 3.938 kB / 0.6303 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.6567, allocations: 7.969 kB / 0.6303 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.6739, allocations: 10.5 MB / 0.6405 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.674, allocations: 8 kB / 0.6405 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.6755, allocations: 356.3 kB / 0.6409 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.6774, allocations: 0.6599 MB / 0.6415 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.6776, allocations: 43.98 kB / 0.6416 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/0.6822, allocations: 3.901 MB / 0.6454 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.6823, allocations: 11.94 kB / 0.6454 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.6924, allocations: 7.136 MB / 0.6523 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.6931, allocations: 313.7 kB / 0.6526 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.6934, allocations: 43.98 kB / 0.6527 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6945, allocations: 147.8 kB / 0.6528 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/0.6948, allocations: 129.1 kB / 0.6529 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.695, allocations: 68.2 kB / 0.653 GB, free: 14.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00234/0.6974, allocations: 1.619 MB / 0.6546 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6974, allocations: 0 / 0.6546 GB, free: 12.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004426/0.7018, allocations: 0.9361 MB / 0.6555 GB, free: 11.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004221/0.7022, allocations: 181.5 kB / 0.6557 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008085/0.7103, allocations: 5.388 MB / 0.6609 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.7104, allocations: 4 kB / 0.6609 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/0.713, allocations: 2.024 MB / 0.6629 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.7152, allocations: 357.4 kB / 0.6633 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.7292, allocations: 9.327 MB / 0.6724 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.7326, allocations: 3.171 MB / 0.6755 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003974/0.7366, allocations: 1.961 MB / 0.6774 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.7373, allocations: 203.4 kB / 0.6776 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.7373, allocations: 3.938 kB / 0.6776 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.2576/0.9949, allocations: 27.01 MB / 0.704 GB, free: 171.2 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches