Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001635, allocations: 114.7 kB / 17.09 MB, free: 6.004 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.001781/0.001781, allocations: 194.2 kB / 18.02 MB, free: 5.086 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.417/1.417, 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.21/0.21, allocations: 43.53 MB / 314.8 MB, free: 464 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.001691/0.001691, allocations: 72.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09945, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01505/0.1145, allocations: 14.21 MB / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008471/0.123, allocations: 4.292 MB / 0.5066 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1251, allocations: 75.81 kB / 0.5067 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.1292, allocations: 1.966 MB / 0.5086 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004852/0.1341, allocations: 1.969 MB / 0.5105 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.1359, allocations: 0.5575 MB / 0.5111 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.1422, allocations: 4.081 MB / 0.5151 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/0.147, allocations: 2.889 MB / 0.5179 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.1497, allocations: 1.464 MB / 0.5193 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.153, allocations: 2.036 MB / 0.5213 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009066/0.154, allocations: 311.9 kB / 0.5216 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.1564, allocations: 1.006 MB / 0.5226 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.1586, allocations: 1.889 MB / 0.5244 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.1618, allocations: 2.267 MB / 0.5267 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2375/0.3994, allocations: 7.398 MB / 0.5339 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.3994, allocations: 0.6094 kB / 0.5339 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3994, allocations: 1.5 kB / 0.5339 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002422/0.3997, allocations: 0 / 0.5339 GB, free: 13.57 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01107/0.4107, allocations: 5.049 MB / 0.5388 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4108, allocations: 12.91 kB / 0.5388 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.4223, allocations: 3.164 MB / 0.5419 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.4281, allocations: 2.273 MB / 0.5441 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.4284, allocations: 237.7 kB / 0.5444 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.4297, allocations: 311 kB / 0.5447 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.451, allocations: 12.1 MB / 0.5565 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.4511, allocations: 35.67 kB / 0.5565 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004675/0.4516, allocations: 144.4 kB / 0.5566 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004126/0.4557, allocations: 2.836 MB / 0.5594 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.4755, allocations: 11.38 MB / 0.5705 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05818/0.5337, allocations: 41.02 MB / 0.6106 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.5457, allocations: 6.075 MB / 0.6165 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004209/0.5499, allocations: 3.015 MB / 0.6195 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.5516, allocations: 1.886 MB / 0.6213 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.5517, allocations: 56 kB / 0.6214 GB, free: 13.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.963e-06/0.5517, allocations: 1.969 kB / 0.6214 GB, free: 13.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04823/0.6, allocations: 20.23 MB / 0.6411 GB, free: 9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.6, allocations: 81.41 kB / 0.6412 GB, free: 8.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.605, allocations: 3.065 MB / 0.6442 GB, free: 5.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.6053, allocations: 61.7 kB / 0.6442 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.6074, allocations: 3.134 MB / 0.6473 GB, free: 2.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.6086, allocations: 1.07 MB / 0.6483 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.611, allocations: 1.21 MB / 0.6495 GB, free: 392 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6111, allocations: 305.1 kB / 0.6498 GB, free: 84 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/0.6155, allocations: 2.866 MB / 0.6526 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/0.6218, allocations: 6.066 MB / 0.6585 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.633, allocations: 9.72 MB / 0.668 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.523e-05/0.6331, allocations: 32 kB / 0.6681 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01782/0.651, allocations: 10.1 MB / 0.6779 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.6511, allocations: 55.98 kB / 0.678 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.6512, allocations: 117.9 kB / 0.6781 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/0.655, allocations: 1.355 MB / 0.6794 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/0.66, allocations: 1.392 MB / 0.6808 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.6703, allocations: 7.817 MB / 0.6884 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.6745, allocations: 367.7 kB / 0.6888 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009229/0.6755, allocations: 347.8 kB / 0.6891 GB, free: 5.648 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (728): * Single equations (assignments): 721 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004508/0.68, allocations: 2.301 MB / 0.6913 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007075/0.6807, allocations: 329.9 kB / 0.6917 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.6921, allocations: 6.624 MB / 0.6981 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.6921, allocations: 11.95 kB / 0.6981 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6921, allocations: 3.938 kB / 0.6981 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.6938, allocations: 0.819 MB / 0.6989 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/0.6944, allocations: 47.67 kB / 0.699 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.696, allocations: 187.6 kB / 0.6992 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/0.6965, allocations: 155.2 kB / 0.6993 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01078/0.7073, allocations: 6.007 MB / 0.7052 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0111/0.7184, allocations: 8.476 MB / 0.7135 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003266/0.7217, allocations: 2.39 MB / 0.7158 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003814/0.7256, allocations: 1.874 MB / 0.7176 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of Backend: time 6.61e-07/0.7256, allocations: 0 / 0.7176 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.7358, allocations: 5.036 MB / 0.7225 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01889/0.7547, allocations: 9.884 MB / 0.7322 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of Templates: time 0.2959/1.051, allocations: 53.47 MB / 0.7844 GB, free: 206.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches