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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8377/0.8377, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.132/0.132, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.623e-05, allocations: 5.656 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.00925/0.009286, allocations: 12.38 MB / 420.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006957/0.01624, allocations: 4.104 MB / 424.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.01823, allocations: 83.69 kB / 424.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.02083, allocations: 2.035 MB / 426.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.02421, allocations: 2.034 MB / 428.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.02534, allocations: 0.5963 MB / 429.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.02945, allocations: 4.427 MB / 433.8 MB, free: 3.238 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.03225, allocations: 2.704 MB / 436.5 MB, free: 488 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1755/0.2078, allocations: 2.266 MB / 438.7 MB, free: 18.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.2118, allocations: 2.215 MB / 441 MB, free: 18.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009553/0.2127, allocations: 312.2 kB / 441.3 MB, free: 18.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.2148, allocations: 0.9918 MB / 442.3 MB, free: 18.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.2165, allocations: 2.01 MB / 444.3 MB, free: 18.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.2186, allocations: 1.242 MB / 445.5 MB, free: 17.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008392/0.227, allocations: 7.365 MB / 452.9 MB, free: 17.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.227, allocations: 0 / 452.9 MB, free: 17.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.227, allocations: 0 / 452.9 MB, free: 17.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003164/0.2273, allocations: 1 kB / 452.9 MB, free: 17.07 MB / 362.7 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.01319/0.2405, allocations: 4.969 MB / 457.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2405, allocations: 9.625 kB / 457.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006338/0.2469, allocations: 3.223 MB / 461.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/0.2513, allocations: 2.186 MB / 463.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.2515, allocations: 240.5 kB / 463.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009078/0.2524, allocations: 307.3 kB / 463.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.2686, allocations: 12.1 MB / 475.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.2687, allocations: 28.94 kB / 475.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.2692, allocations: 159 kB / 476.1 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/0.2719, allocations: 2.832 MB / 478.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.29, allocations: 11.35 MB / 490.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04877/0.3388, allocations: 38.01 MB / 0.5159 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00774/0.3465, allocations: 5.03 MB / 0.5208 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/0.3493, allocations: 2.762 MB / 0.5235 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/0.35, allocations: 0.5545 MB / 0.524 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.35, allocations: 56.56 kB / 0.5241 GB, free: 5.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 5.07e-06/0.35, allocations: 0 / 0.5241 GB, free: 5.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.03278/0.3828, allocations: 20.54 MB / 0.5442 GB, free: 0.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.3829, allocations: 77.41 kB / 0.5442 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.3866, allocations: 3.076 MB / 0.5472 GB, free: 13.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005766/0.3872, allocations: 65.64 kB / 0.5473 GB, free: 13.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.3888, allocations: 3.135 MB / 0.5504 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.39, allocations: 1.047 MB / 0.5514 GB, free: 9.504 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001395/0.3914, allocations: 1.194 MB / 0.5525 GB, free: 8.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.3914, allocations: 301.1 kB / 0.5528 GB, free: 8.004 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.3944, allocations: 2.866 MB / 0.5556 GB, free: 5.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/0.3994, allocations: 6.071 MB / 0.5616 GB, free: 13.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009155/0.4086, allocations: 9.725 MB / 0.5711 GB, free: 2.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-05/0.4087, allocations: 32 kB / 0.5711 GB, free: 2.508 MB / 474.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01446/0.4231, allocations: 10.07 MB / 0.5809 GB, free: 8.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.4232, allocations: 52 kB / 0.581 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.4233, allocations: 112 kB / 0.5811 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.4258, allocations: 1.362 MB / 0.5824 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/0.4291, allocations: 1.388 MB / 0.5838 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.4363, allocations: 7.612 MB / 0.5912 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/0.4398, allocations: 403.6 kB / 0.5916 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/0.4407, allocations: 344 kB / 0.5919 GB, free: 13.07 MB / 0.4948 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.004571/0.4453, allocations: 2.306 MB / 0.5942 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.4458, allocations: 298 kB / 0.5944 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/0.4533, allocations: 6.604 MB / 0.6009 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/0.4534, allocations: 51.98 kB / 0.6009 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4534, allocations: 4 kB / 0.6009 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.4534, allocations: 11.95 kB / 0.601 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.4699, allocations: 12.35 MB / 0.613 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.4699, allocations: 8 kB / 0.613 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.4711, allocations: 447.3 kB / 0.6135 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.4729, allocations: 1.211 MB / 0.6146 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.4732, allocations: 55.98 kB / 0.6147 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1965/0.6697, allocations: 6.816 MB / 0.6213 GB, free: 174 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.6697, allocations: 11.44 kB / 0.6214 GB, free: 174 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.6838, allocations: 9.827 MB / 0.631 GB, free: 171.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/0.686, allocations: 0.7587 MB / 0.6317 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007376/0.6868, allocations: 52.12 kB / 0.6317 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.6881, allocations: 228 kB / 0.632 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.6886, allocations: 171.7 kB / 0.6321 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.6887, allocations: 78.41 kB / 0.6322 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002622/0.6914, allocations: 1.764 MB / 0.6339 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.6914, allocations: 1.062 kB / 0.6339 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003988/0.6954, allocations: 1.2 MB / 0.6351 GB, free: 170.7 MB / 0.5105 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.0004934/0.6958, allocations: 211 kB / 0.6353 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007272/0.7031, allocations: 6.714 MB / 0.6419 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.7031, allocations: 0 / 0.6419 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.7064, allocations: 2.644 MB / 0.6444 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.709, allocations: 313.1 kB / 0.6447 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.7251, allocations: 12.03 MB / 0.6565 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003011/0.7281, allocations: 3.055 MB / 0.6595 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7293, allocations: 279.3 kB / 0.6597 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/0.7293, allocations: 0 / 0.6597 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.08281/0.8121, allocations: 85.36 MB / 0.7431 GB, free: 71.61 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.288462106138468]