Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001271/0.001271, allocations: 198.2 kB / 18.02 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.362/1.362, 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.2027/0.2027, allocations: 43.53 MB / 314.8 MB, free: 468 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.001553/0.001553, allocations: 67.91 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1015, allocations: 57.8 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01184/0.1134, allocations: 11.81 MB / 0.5001 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007796/0.1212, allocations: 4.047 MB / 0.504 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.123, allocations: 67.75 kB / 0.5041 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1255, allocations: 1.175 MB / 0.5053 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.1297, allocations: 1.755 MB / 0.507 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1313, allocations: 0.5496 MB / 0.5075 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005664/0.137, allocations: 3.977 MB / 0.5114 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.1399, allocations: 1.783 MB / 0.5131 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1419, allocations: 1.171 MB / 0.5143 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.1449, allocations: 1.678 MB / 0.5159 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.1459, allocations: 216 kB / 0.5161 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.1488, allocations: 1.299 MB / 0.5174 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.1509, allocations: 1.589 MB / 0.5189 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.1536, allocations: 1.851 MB / 0.5208 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.1607, allocations: 6.235 MB / 0.5268 GB, free: 4.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1607, allocations: 4 kB / 0.5268 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1608, allocations: 4 kB / 0.5268 GB, free: 4.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.857e-05/0.1608, allocations: 0 / 0.5268 GB, free: 4.426 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.006245/0.1671, allocations: 4.107 MB / 0.5309 GB, free: 256 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1672, allocations: 19.95 kB / 0.5309 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.224/0.3911, allocations: 5.665 MB / 0.5364 GB, free: 37.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/0.3966, allocations: 2.26 MB / 0.5386 GB, free: 37.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3968, allocations: 179 kB / 0.5388 GB, free: 37.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.398, allocations: 312.5 kB / 0.5391 GB, free: 37.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.4146, allocations: 10.72 MB / 0.5496 GB, free: 32.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.4147, allocations: 38.66 kB / 0.5496 GB, free: 32.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.415, allocations: 112 kB / 0.5497 GB, free: 32.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003402/0.4185, allocations: 2.455 MB / 0.5521 GB, free: 31.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.4364, allocations: 10.16 MB / 0.562 GB, free: 24.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04365/0.4801, allocations: 35.51 MB / 0.5967 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.4925, allocations: 5.603 MB / 0.6022 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.496, allocations: 2.334 MB / 0.6044 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.4979, allocations: 1.876 MB / 0.6063 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.498, allocations: 52.56 kB / 0.6063 GB, free: 9.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 8.005e-06/0.498, allocations: 4.562 kB / 0.6063 GB, free: 9.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.03293/0.5309, allocations: 14.56 MB / 0.6206 GB, free: 10.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.531, allocations: 81.28 kB / 0.6206 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.5351, allocations: 2.81 MB / 0.6234 GB, free: 7.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.5354, allocations: 53.7 kB / 0.6234 GB, free: 7.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.5372, allocations: 2.674 MB / 0.626 GB, free: 4.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000879/0.5381, allocations: 0.8326 MB / 0.6268 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/0.5399, allocations: 1.091 MB / 0.6279 GB, free: 3.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.54, allocations: 305.1 kB / 0.6282 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.5437, allocations: 2.533 MB / 0.6307 GB, free: 204 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.5494, allocations: 5.538 MB / 0.6361 GB, free: 9.188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.5595, allocations: 8.777 MB / 0.6447 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.006e-05/0.5596, allocations: 28 kB / 0.6447 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06223/0.6218, allocations: 18.83 MB / 0.6631 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.622, allocations: 55.94 kB / 0.6631 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04128/0.6633, allocations: 11.79 MB / 0.6746 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04454/0.7079, allocations: 10.29 MB / 0.6847 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.7124, allocations: 1.306 MB / 0.686 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/0.7418, allocations: 18.22 MB / 0.7038 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/0.7457, allocations: 375.6 kB / 0.7041 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.7469, allocations: 312.1 kB / 0.7044 GB, free: 1.402 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (656): * Single equations (assignments): 647 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004/0.7509, allocations: 2.024 MB / 0.7064 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006607/0.7516, allocations: 268.5 kB / 0.7066 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009124/0.7607, allocations: 4.824 MB / 0.7114 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.7608, allocations: 11.97 kB / 0.7114 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.7608, allocations: 7.938 kB / 0.7114 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/0.7614, allocations: 297.6 kB / 0.7117 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/0.7619, allocations: 43.98 kB / 0.7117 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7632, allocations: 155.8 kB / 0.7118 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.7635, allocations: 109.8 kB / 0.712 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007888/0.7714, allocations: 4.373 MB / 0.7162 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007976/0.7794, allocations: 6.282 MB / 0.7224 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002156/0.7816, allocations: 1.772 MB / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002578/0.7842, allocations: 1.72 MB / 0.7258 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of Backend: time 4.9e-07/0.7842, allocations: 0 / 0.7258 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009921/0.7941, allocations: 5.033 MB / 0.7307 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01383/0.808, allocations: 8.389 MB / 0.7389 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.288/1.096, allocations: 56.56 MB / 0.7941 GB, free: 179 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches