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.001415/0.001415, allocations: 114.7 kB / 17.09 MB, free: 5.961 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.001264/0.001264, allocations: 194.1 kB / 18.02 MB, free: 5.047 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.388/1.388, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2012/0.2012, allocations: 43.52 MB / 314.8 MB, free: 452 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.001488/0.001488, allocations: 77.61 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01461/0.127, allocations: 14.21 MB / 0.5024 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00828/0.1353, allocations: 4.292 MB / 0.5066 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.137, allocations: 75.88 kB / 0.5067 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003722/0.1408, allocations: 1.962 MB / 0.5086 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004314/0.1451, allocations: 1.922 MB / 0.5105 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1465, allocations: 0.5615 MB / 0.511 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004918/0.1514, allocations: 4.085 MB / 0.515 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.1551, allocations: 2.878 MB / 0.5178 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.1573, allocations: 1.475 MB / 0.5193 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.1602, allocations: 2.028 MB / 0.5213 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008526/0.161, allocations: 308 kB / 0.5216 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.1632, allocations: 1.014 MB / 0.5226 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.1652, allocations: 1.882 MB / 0.5244 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.1684, allocations: 2.275 MB / 0.5266 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2276/0.396, allocations: 7.367 MB / 0.5338 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.396, allocations: 0 / 0.5338 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.396, allocations: 1.469 kB / 0.5338 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001749/0.3962, allocations: 0 / 0.5338 GB, free: 14.25 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.00935/0.4056, allocations: 4.905 MB / 0.5386 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4056, allocations: 13.77 kB / 0.5386 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4162, allocations: 3.137 MB / 0.5417 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005016/0.4213, allocations: 2.267 MB / 0.5439 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.4216, allocations: 241 kB / 0.5441 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.4226, allocations: 310.3 kB / 0.5444 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.4415, allocations: 12.1 MB / 0.5562 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.4416, allocations: 28.89 kB / 0.5563 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.4421, allocations: 150 kB / 0.5564 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004455/0.4466, allocations: 2.83 MB / 0.5592 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4648, allocations: 11.38 MB / 0.5703 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.5221, allocations: 40.94 MB / 0.6103 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5337, allocations: 6.082 MB / 0.6162 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/0.5376, allocations: 3.007 MB / 0.6191 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/0.5394, allocations: 1.887 MB / 0.621 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.5395, allocations: 52.56 kB / 0.621 GB, free: 13.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.081e-06/0.5395, allocations: 0 / 0.621 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05197/0.5914, allocations: 20.15 MB / 0.6407 GB, free: 9.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.5915, allocations: 77.41 kB / 0.6408 GB, free: 9.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.5965, allocations: 3.057 MB / 0.6438 GB, free: 6.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/0.597, allocations: 63.81 kB / 0.6438 GB, free: 6.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.5991, allocations: 3.008 MB / 0.6468 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.6003, allocations: 1.024 MB / 0.6478 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00267/0.603, allocations: 1.202 MB / 0.6489 GB, free: 1.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.6031, allocations: 307.5 kB / 0.6492 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/0.6072, allocations: 2.859 MB / 0.652 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006213/0.6135, allocations: 6.068 MB / 0.6579 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.6247, allocations: 9.724 MB / 0.6674 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-05/0.6249, allocations: 32 kB / 0.6675 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01999/0.6449, allocations: 10.09 MB / 0.6773 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.645, allocations: 52 kB / 0.6774 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001986/0.6452, allocations: 114.3 kB / 0.6775 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/0.6489, allocations: 1.362 MB / 0.6788 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/0.6545, allocations: 1.392 MB / 0.6802 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.6653, allocations: 7.813 MB / 0.6878 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/0.6697, allocations: 363.7 kB / 0.6881 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/0.6708, allocations: 348 kB / 0.6885 GB, free: 6.367 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.004369/0.6752, allocations: 2.304 MB / 0.6907 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007224/0.6759, allocations: 308 kB / 0.691 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.6875, allocations: 6.626 MB / 0.6975 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.6875, allocations: 11.95 kB / 0.6975 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6876, allocations: 3.938 kB / 0.6975 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.6893, allocations: 0.8072 MB / 0.6983 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/0.6899, allocations: 40 kB / 0.6983 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.6915, allocations: 183.7 kB / 0.6985 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.692, allocations: 160.5 kB / 0.6987 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01055/0.7025, allocations: 6 MB / 0.7045 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01146/0.714, allocations: 8.465 MB / 0.7128 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003292/0.7174, allocations: 2.389 MB / 0.7151 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004367/0.7217, allocations: 1.874 MB / 0.717 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of Backend: time 7.31e-07/0.7218, allocations: 0 / 0.717 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01243/0.7342, allocations: 5.043 MB / 0.7219 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01763/0.7519, allocations: 9.71 MB / 0.7314 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.2915/1.043, allocations: 53.77 MB / 0.7839 GB, free: 207 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