Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 96.28 kB / 15.69 MB, free: 476 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.00119/0.00119, allocations: 174.1 kB / 16.57 MB, free: 6.852 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.465/1.465, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.328/0.328, allocations: 43.55 MB / 314.5 MB, free: 8.758 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.0005317/0.0005318, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2122/0.3325, allocations: 32.75 MB / 475.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3467, allocations: 8.124 MB / 483.6 MB, free: 26.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005543/0.3523, allocations: 152.5 kB / 483.8 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.3563, allocations: 1.655 MB / 485.4 MB, free: 25.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.3681, allocations: 4.888 MB / 490.3 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.3699, allocations: 458 kB / 490.8 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.3728, allocations: 2.157 MB / 492.9 MB, free: 22.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.3759, allocations: 3.043 MB / 496 MB, free: 21.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3774, allocations: 0.9789 MB / 496.9 MB, free: 20.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.3792, allocations: 1.352 MB / 498.3 MB, free: 20.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.3797, allocations: 149.9 kB / 498.4 MB, free: 20.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3813, allocations: 0.7474 MB / 499.2 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3828, allocations: 1.509 MB / 0.489 GB, free: 19.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.3839, allocations: 0.8402 MB / 0.4898 GB, free: 19.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.392, allocations: 5.388 MB / 0.4951 GB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3921, allocations: 1.438 kB / 0.4951 GB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3921, allocations: 4 kB / 0.4951 GB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000305/0.3924, allocations: 0 / 0.4951 GB, free: 17.92 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.009972/0.4024, allocations: 3.918 MB / 0.4989 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4024, allocations: 9.406 kB / 0.4989 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.4153, allocations: 3.77 MB / 0.5026 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/0.4218, allocations: 2.36 MB / 0.5049 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.422, allocations: 215.5 kB / 0.5051 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008161/0.4229, allocations: 299 kB / 0.5054 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.4379, allocations: 11.38 MB / 0.5165 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/0.438, allocations: 35.66 kB / 0.5165 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.4384, allocations: 143.8 kB / 0.5167 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.4421, allocations: 2.71 MB / 0.5193 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.4611, allocations: 10.54 MB / 0.5296 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.5217, allocations: 37.61 MB / 0.5663 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009366/0.5311, allocations: 4.559 MB / 0.5708 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.5323, allocations: 1.319 MB / 0.5721 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.5324, allocations: 56.56 kB / 0.5721 GB, free: 9.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 4.98e-06/0.5324, allocations: 0 / 0.5721 GB, free: 9.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04398/0.5764, allocations: 18.15 MB / 0.5898 GB, free: 7.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.5765, allocations: 73.41 kB / 0.5899 GB, free: 7.145 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/0.5815, allocations: 2.902 MB / 0.5927 GB, free: 4.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/0.5818, allocations: 57.7 kB / 0.5928 GB, free: 4.168 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.5839, allocations: 2.849 MB / 0.5956 GB, free: 1.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.585, allocations: 0.9172 MB / 0.5965 GB, free: 356 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.5853, allocations: 112 kB / 0.5966 GB, free: 244 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000435/0.5858, allocations: 0.5415 MB / 0.5971 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/0.5892, allocations: 2.31 MB / 0.5994 GB, free: 13.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006255/0.5955, allocations: 5.256 MB / 0.6045 GB, free: 6.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/0.6016, allocations: 3.482 MB / 0.6079 GB, free: 3.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.6018, allocations: 28 kB / 0.6079 GB, free: 3.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01936/0.6211, allocations: 8.321 MB / 0.6161 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.6213, allocations: 48 kB / 0.6161 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/0.6215, allocations: 104 kB / 0.6162 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.6243, allocations: 0.9489 MB / 0.6171 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/0.6287, allocations: 1.244 MB / 0.6183 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007065/0.6358, allocations: 4.932 MB / 0.6232 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.6402, allocations: 315.7 kB / 0.6235 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/0.6414, allocations: 308 kB / 0.6238 GB, free: 2.797 MB / 494.1 MB 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 (665): * Single equations (assignments): 658 * 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.005847/0.6473, allocations: 2.186 MB / 0.6259 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/0.6482, allocations: 284.3 kB / 0.6262 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2278/0.876, allocations: 5.111 MB / 0.6312 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/0.876, allocations: 49.33 kB / 0.6312 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8761, allocations: 3.562 kB / 0.6312 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.8761, allocations: 15.59 kB / 0.6312 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/0.8946, allocations: 11.96 MB / 0.6429 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.8947, allocations: 6.844 kB / 0.6429 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.8963, allocations: 401.5 kB / 0.6433 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.8985, allocations: 0.7783 MB / 0.644 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.8987, allocations: 45.88 kB / 0.6441 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/0.9033, allocations: 4.212 MB / 0.6482 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.9033, allocations: 12.97 kB / 0.6482 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.9138, allocations: 8.464 MB / 0.6565 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.9158, allocations: 0.6885 MB / 0.6572 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.9162, allocations: 48.19 kB / 0.6572 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9174, allocations: 145.5 kB / 0.6573 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.9177, allocations: 155.3 kB / 0.6575 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.9178, allocations: 72.69 kB / 0.6576 GB, free: 131.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002635/0.9205, allocations: 1.789 MB / 0.6593 GB, free: 130.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9205, allocations: 0 / 0.6593 GB, free: 130.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004265/0.9247, allocations: 1.021 MB / 0.6603 GB, free: 130.3 MB / 494.1 MB 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.0005115/0.9253, allocations: 202.5 kB / 0.6605 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.9332, allocations: 5.613 MB / 0.666 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9332, allocations: 1.031 kB / 0.666 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.9359, allocations: 2.141 MB / 0.6681 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.9377, allocations: 351.9 kB / 0.6684 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.9534, allocations: 12.27 MB / 0.6804 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/0.9567, allocations: 3.525 MB / 0.6838 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004372/0.9611, allocations: 2.01 MB / 0.6858 GB, free: 116.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.9617, allocations: 218.8 kB / 0.686 GB, free: 116.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9617, allocations: 4 kB / 0.686 GB, free: 116.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04799/1.01, allocations: 32.08 MB / 0.7173 GB, free: 85.39 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches