Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008484/0.0008485, allocations: 96.78 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009561/0.0009561, allocations: 205.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 11.98 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2932/0.3962, allocations: 39.96 MB / 0.5114 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.4148, allocations: 8.683 MB / 0.5199 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007387/0.4223, allocations: 168.8 kB / 0.5201 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.4243, allocations: 499.1 kB / 0.5205 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.4295, allocations: 1.772 MB / 0.5223 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.4311, allocations: 0.5175 MB / 0.5228 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007263/0.4384, allocations: 5.698 MB / 0.5283 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005399/0.4438, allocations: 3.533 MB / 0.5318 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.446, allocations: 1.105 MB / 0.5329 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.4489, allocations: 1.924 MB / 0.5348 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007368/0.4497, allocations: 155.3 kB / 0.5349 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.452, allocations: 0.9153 MB / 0.5358 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.4536, allocations: 1.715 MB / 0.5375 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.4557, allocations: 2.065 MB / 0.5395 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.4615, allocations: 5.551 MB / 0.5449 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4616, allocations: 0 / 0.5449 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4616, allocations: 0 / 0.5449 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002826/0.4619, allocations: 0 / 0.5449 GB, free: 13.97 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.008561/0.4704, allocations: 3.974 MB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4705, allocations: 12.03 kB / 0.5488 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.4819, allocations: 3.226 MB / 0.5519 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.4862, allocations: 2.151 MB / 0.554 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4865, allocations: 233.9 kB / 0.5543 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.4875, allocations: 315.1 kB / 0.5546 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.5073, allocations: 12.1 MB / 0.5664 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.5074, allocations: 27.75 kB / 0.5664 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/0.508, allocations: 152.6 kB / 0.5666 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004892/0.5129, allocations: 2.837 MB / 0.5693 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.5345, allocations: 11.36 MB / 0.5804 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05783/0.5924, allocations: 41.28 MB / 0.6207 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.6041, allocations: 6.077 MB / 0.6267 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/0.6082, allocations: 3.016 MB / 0.6296 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/0.6099, allocations: 1.882 MB / 0.6315 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.61, allocations: 56.55 kB / 0.6315 GB, free: 4.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 4.678e-06/0.61, allocations: 0 / 0.6315 GB, free: 4.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04952/0.6595, allocations: 20.1 MB / 0.6511 GB, free: 284 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6596, allocations: 77.41 kB / 0.6512 GB, free: 196 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.6637, allocations: 3.021 MB / 0.6542 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000509/0.6643, allocations: 64.98 kB / 0.6542 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.6662, allocations: 2.99 MB / 0.6571 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.6675, allocations: 1.017 MB / 0.6581 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/0.6683, allocations: 0.5184 MB / 0.6586 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.6684, allocations: 301.1 kB / 0.6589 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/0.6726, allocations: 2.85 MB / 0.6617 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006697/0.6794, allocations: 6.037 MB / 0.6676 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/0.6935, allocations: 9.665 MB / 0.6771 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/0.6937, allocations: 35.94 kB / 0.6771 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.03187/0.7256, allocations: 10.04 MB / 0.6869 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.7258, allocations: 55.94 kB / 0.6869 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/0.7261, allocations: 112 kB / 0.6871 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006025/0.7321, allocations: 1.362 MB / 0.6884 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007701/0.7399, allocations: 1.372 MB / 0.6897 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.7555, allocations: 7.305 MB / 0.6969 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006487/0.762, allocations: 375.6 kB / 0.6972 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/0.7636, allocations: 346.3 kB / 0.6975 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (722): * Single equations (assignments): 715 * 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.006615/0.7702, allocations: 2.287 MB / 0.6998 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009936/0.7712, allocations: 304 kB / 0.7001 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/0.7887, allocations: 6.625 MB / 0.7065 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/0.7888, allocations: 51.34 kB / 0.7066 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.7889, allocations: 4 kB / 0.7066 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/0.7889, allocations: 11.95 kB / 0.7066 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2742/1.063, allocations: 14.01 MB / 0.7203 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/1.063, allocations: 6.25 kB / 0.7203 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.066, allocations: 456.5 kB / 0.7207 GB, free: 189.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.069, allocations: 1.213 MB / 0.7219 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.07, allocations: 53.23 kB / 0.722 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008253/1.078, allocations: 6.527 MB / 0.7283 GB, free: 186.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.078, allocations: 12.69 kB / 0.7283 GB, free: 186.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/1.093, allocations: 9.858 MB / 0.738 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/1.094, allocations: 348.8 kB / 0.7383 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006902/1.094, allocations: 49.67 kB / 0.7384 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.096, allocations: 192.6 kB / 0.7385 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004847/1.097, allocations: 159.8 kB / 0.7387 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.097, allocations: 87.59 kB / 0.7388 GB, free: 182.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002882/1.1, allocations: 1.87 MB / 0.7406 GB, free: 181.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.1, allocations: 0 / 0.7406 GB, free: 181.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004252/1.104, allocations: 1.105 MB / 0.7417 GB, free: 181.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00054/1.105, allocations: 191.5 kB / 0.7419 GB, free: 181.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008714/1.114, allocations: 6.947 MB / 0.7486 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.114, allocations: 3.562 kB / 0.7487 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003806/1.117, allocations: 2.861 MB / 0.7514 GB, free: 176.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/1.123, allocations: 397.7 kB / 0.7518 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.141, allocations: 14.39 MB / 0.7659 GB, free: 162.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/1.144, allocations: 3.577 MB / 0.7694 GB, free: 159.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.146, allocations: 287.4 kB / 0.7696 GB, free: 159 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.146, allocations: 0 / 0.7696 GB, free: 159 MB / 0.545 GB Notification: Performance of Templates: time 0.08407/1.23, allocations: 82.73 MB / 0.8504 GB, free: 76.31 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches