Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001821/0.001821, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002274/0.002274, allocations: 209.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2512/0.2512, allocations: 46.94 MB / 362 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 83.84 kB / 0.4978 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.331, allocations: 66.09 MB / 0.5623 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01682/0.3478, allocations: 13.39 MB / 0.5754 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009441/0.3572, allocations: 4.232 MB / 0.5796 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.3596, allocations: 79.75 kB / 0.5796 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.3638, allocations: 2.001 MB / 0.5816 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.3689, allocations: 1.954 MB / 0.5835 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3704, allocations: 0.5537 MB / 0.584 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005857/0.3762, allocations: 4.045 MB / 0.588 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.3794, allocations: 2.42 MB / 0.5903 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.3823, allocations: 1.468 MB / 0.5918 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.3856, allocations: 2.2 MB / 0.5939 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007343/0.3863, allocations: 308 kB / 0.5942 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.3884, allocations: 0.9244 MB / 0.5951 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0023/0.3907, allocations: 1.897 MB / 0.597 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.3938, allocations: 2.232 MB / 0.5992 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4038, allocations: 7.351 MB / 0.6063 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4038, allocations: 0 / 0.6063 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4038, allocations: 0 / 0.6063 GB, free: 6.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000247/0.4041, allocations: 0 / 0.6063 GB, free: 6.945 MB / 446.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.01279/0.4169, allocations: 4.93 MB / 0.6111 GB, free: 1.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4169, allocations: 19.97 kB / 0.6112 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4281, allocations: 3.164 MB / 0.6143 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.4339, allocations: 2.125 MB / 0.6163 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.4342, allocations: 230.2 kB / 0.6166 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.4353, allocations: 319.9 kB / 0.6169 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.4564, allocations: 12.08 MB / 0.6287 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.942e-05/0.4565, allocations: 31.7 kB / 0.6287 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004371/0.4569, allocations: 155.8 kB / 0.6288 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004899/0.4618, allocations: 2.828 MB / 0.6316 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/0.486, allocations: 11.36 MB / 0.6427 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06498/0.551, allocations: 40.82 MB / 0.6825 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.5633, allocations: 4.912 MB / 0.6873 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/0.5677, allocations: 2.763 MB / 0.69 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.5691, allocations: 0.5594 MB / 0.6906 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.5691, allocations: 56.56 kB / 0.6906 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.019e-06/0.5691, allocations: 0 / 0.6906 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05283/0.622, allocations: 20.04 MB / 0.7102 GB, free: 10.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.622, allocations: 77.41 kB / 0.7103 GB, free: 10.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/0.6266, allocations: 3.027 MB / 0.7132 GB, free: 7.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006594/0.6273, allocations: 65.69 kB / 0.7133 GB, free: 7.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.6298, allocations: 3.112 MB / 0.7163 GB, free: 4.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.6312, allocations: 1.066 MB / 0.7174 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.6331, allocations: 1.203 MB / 0.7186 GB, free: 2.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6332, allocations: 305.1 kB / 0.7189 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/0.6377, allocations: 2.854 MB / 0.7216 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007782/0.6455, allocations: 6.03 MB / 0.7275 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.281/0.9266, allocations: 9.666 MB / 0.737 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/0.9267, allocations: 35.41 kB / 0.737 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01701/0.9437, allocations: 10.05 MB / 0.7468 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.9438, allocations: 52.41 kB / 0.7469 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.9439, allocations: 110.6 kB / 0.747 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.9471, allocations: 1.357 MB / 0.7483 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/0.9516, allocations: 1.373 MB / 0.7496 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.96, allocations: 7.7 MB / 0.7572 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.9647, allocations: 366.1 kB / 0.7575 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/0.9659, allocations: 352.3 kB / 0.7578 GB, free: 139.7 MB / 0.5606 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.004174/0.9701, allocations: 2.3 MB / 0.7601 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006988/0.9708, allocations: 318.2 kB / 0.7604 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009439/0.9802, allocations: 6.607 MB / 0.7668 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/0.9803, allocations: 59.75 kB / 0.7669 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.9803, allocations: 4 kB / 0.7669 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.9803, allocations: 11.95 kB / 0.7669 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.9983, allocations: 13.83 MB / 0.7804 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.9983, allocations: 8 kB / 0.7804 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1, allocations: 455.3 kB / 0.7809 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/1.003, allocations: 1.21 MB / 0.782 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/1.003, allocations: 59.67 kB / 0.7821 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/1.011, allocations: 6.913 MB / 0.7888 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.011, allocations: 11.94 kB / 0.7889 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.023, allocations: 9.871 MB / 0.7985 GB, free: 98.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/1.024, allocations: 289.9 kB / 0.7988 GB, free: 98.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/1.024, allocations: 44 kB / 0.7988 GB, free: 98.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.025, allocations: 199.6 kB / 0.799 GB, free: 98.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004443/1.026, allocations: 173.5 kB / 0.7992 GB, free: 98.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.026, allocations: 74.95 kB / 0.7992 GB, free: 98.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002193/1.028, allocations: 1.873 MB / 0.8011 GB, free: 96.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.028, allocations: 0 / 0.8011 GB, free: 96.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004177/1.032, allocations: 1.106 MB / 0.8022 GB, free: 95.2 MB / 0.5606 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.0004914/1.033, allocations: 193.3 kB / 0.8023 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009016/1.042, allocations: 6.687 MB / 0.8089 GB, free: 88.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.042, allocations: 0 / 0.8089 GB, free: 88.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/1.045, allocations: 2.654 MB / 0.8115 GB, free: 85.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.048, allocations: 422.6 kB / 0.8119 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.064, allocations: 11.59 MB / 0.8232 GB, free: 73.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.067, allocations: 3.574 MB / 0.8267 GB, free: 69.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004119/1.071, allocations: 2.203 MB / 0.8288 GB, free: 67.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/1.072, allocations: 239.4 kB / 0.8291 GB, free: 67.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.072, allocations: 7.938 kB / 0.8291 GB, free: 67.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.06341/1.136, allocations: 44.18 MB / 0.8722 GB, free: 23.59 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.35334557807073]