Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007447/0.0007447, allocations: 97.14 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2845/0.2845, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 16 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1952/0.2996, allocations: 34.65 MB / 0.5131 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3152, allocations: 7.806 MB / 0.5208 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006657/0.3219, allocations: 158.2 kB / 0.5209 GB, free: 20.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.3267, allocations: 1.683 MB / 0.5226 GB, free: 20.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.3391, allocations: 5.073 MB / 0.5275 GB, free: 17.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.3415, allocations: 0.5047 MB / 0.528 GB, free: 17.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.3466, allocations: 4.389 MB / 0.5323 GB, free: 16.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005007/0.3517, allocations: 3.304 MB / 0.5355 GB, free: 14.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3542, allocations: 1.166 MB / 0.5367 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.3576, allocations: 1.874 MB / 0.5385 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.3587, allocations: 149.8 kB / 0.5386 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.3615, allocations: 0.9053 MB / 0.5395 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.3643, allocations: 1.614 MB / 0.5411 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003704/0.368, allocations: 1.897 MB / 0.5429 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.376, allocations: 5.384 MB / 0.5482 GB, free: 9.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.376, allocations: 3.938 kB / 0.5482 GB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.376, allocations: 1.156 kB / 0.5482 GB, free: 9.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003029/0.3763, allocations: 0 / 0.5482 GB, free: 9.676 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.009131/0.3855, allocations: 3.795 MB / 0.5519 GB, free: 6.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.3856, allocations: 9.781 kB / 0.5519 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.396, allocations: 3.203 MB / 0.5551 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00527/0.4013, allocations: 2.197 MB / 0.5572 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.4016, allocations: 226.1 kB / 0.5574 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.4028, allocations: 296.9 kB / 0.5577 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.4221, allocations: 11.31 MB / 0.5687 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.4223, allocations: 27.72 kB / 0.5688 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/0.4228, allocations: 135.8 kB / 0.5689 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/0.4271, allocations: 2.714 MB / 0.5716 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.4478, allocations: 10.44 MB / 0.5817 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05831/0.5061, allocations: 37.52 MB / 0.6184 GB, free: 6.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/0.5149, allocations: 4.557 MB / 0.6228 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.5183, allocations: 2.392 MB / 0.6252 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.5195, allocations: 1.319 MB / 0.6265 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.5195, allocations: 56.5 kB / 0.6265 GB, free: 13.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 6.553e-06/0.5195, allocations: 0 / 0.6265 GB, free: 13.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.03982/0.5594, allocations: 17.58 MB / 0.6437 GB, free: 11.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5595, allocations: 73.41 kB / 0.6438 GB, free: 11.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/0.5641, allocations: 2.773 MB / 0.6465 GB, free: 8.887 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000455/0.5646, allocations: 57.7 kB / 0.6465 GB, free: 8.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.5667, allocations: 2.857 MB / 0.6493 GB, free: 5.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00148/0.5682, allocations: 0.9095 MB / 0.6502 GB, free: 5.004 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/0.5688, allocations: 112 kB / 0.6503 GB, free: 4.895 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005285/0.5693, allocations: 0.5455 MB / 0.6508 GB, free: 4.344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/0.5734, allocations: 2.314 MB / 0.6531 GB, free: 2.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006469/0.5799, allocations: 5.292 MB / 0.6583 GB, free: 11.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.5904, allocations: 8.353 MB / 0.6664 GB, free: 1.465 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-05/0.5905, allocations: 28 kB / 0.6664 GB, free: 1.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01569/0.6062, allocations: 8.344 MB / 0.6746 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.6063, allocations: 56.25 kB / 0.6747 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.6064, allocations: 104 kB / 0.6748 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.609, allocations: 0.9371 MB / 0.6757 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.613, allocations: 1.244 MB / 0.6769 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.6194, allocations: 4.82 MB / 0.6816 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.623, allocations: 307.7 kB / 0.6819 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009322/0.624, allocations: 316 kB / 0.6822 GB, free: 1.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (669): * Single equations (assignments): 662 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.189/0.8131, allocations: 2.175 MB / 0.6843 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/0.8137, allocations: 281.2 kB / 0.6846 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.8238, allocations: 5.121 MB / 0.6896 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.915e-05/0.8239, allocations: 47.09 kB / 0.6896 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.8239, allocations: 2.719 kB / 0.6896 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.8239, allocations: 11.23 kB / 0.6896 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.8407, allocations: 11.95 MB / 0.7013 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.8407, allocations: 10.03 kB / 0.7013 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.8422, allocations: 401.7 kB / 0.7017 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.8442, allocations: 0.7776 MB / 0.7025 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.8444, allocations: 51.05 kB / 0.7025 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.8486, allocations: 4.083 MB / 0.7065 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.8486, allocations: 17.78 kB / 0.7065 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008861/0.8575, allocations: 7.604 MB / 0.7139 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.8589, allocations: 0.677 MB / 0.7146 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.8593, allocations: 54.8 kB / 0.7146 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8604, allocations: 143.5 kB / 0.7148 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.8607, allocations: 164.2 kB / 0.7149 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.8609, allocations: 73.69 kB / 0.715 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002392/0.8633, allocations: 1.691 MB / 0.7167 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8633, allocations: 0 / 0.7167 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00426/0.8676, allocations: 1.005 MB / 0.7176 GB, free: 141.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004691/0.8681, allocations: 186.8 kB / 0.7178 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008501/0.8766, allocations: 5.635 MB / 0.7233 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.8766, allocations: 0 / 0.7233 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.8795, allocations: 2.141 MB / 0.7254 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/0.8846, allocations: 365.5 kB / 0.7258 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.9014, allocations: 12.79 MB / 0.7382 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/0.9055, allocations: 3.442 MB / 0.7416 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.9066, allocations: 261.4 kB / 0.7419 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.9066, allocations: 0 / 0.7419 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.07985/0.9864, allocations: 75.74 MB / 0.8158 GB, free: 55.63 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches