Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001712/0.001712, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 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.001856/0.001856, allocations: 220.9 kB / 23 MB, free: 4.965 MB / 14.72 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 1.9/1.9, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2415/0.2415, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 67.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1646, allocations: 61.06 MB / 0.5167 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01986/0.1844, allocations: 10.5 MB / 0.5269 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.1978, allocations: 4.189 MB / 0.531 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.2012, allocations: 83.62 kB / 0.5311 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.2088, allocations: 2.706 MB / 0.5337 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008803/0.2176, allocations: 2.101 MB / 0.5358 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.2212, allocations: 1.022 MB / 0.5368 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3521/0.5732, allocations: 5.125 MB / 0.5418 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/0.5784, allocations: 2.879 MB / 0.5446 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.5825, allocations: 1.804 MB / 0.5464 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005604/0.5881, allocations: 2.52 MB / 0.5488 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.59, allocations: 369.5 kB / 0.5492 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/0.5947, allocations: 1.309 MB / 0.5504 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005579/0.6002, allocations: 2.27 MB / 0.5527 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006831/0.6071, allocations: 1.861 MB / 0.5545 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.6233, allocations: 8.143 MB / 0.5624 GB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.6233, allocations: 9.422 kB / 0.5624 GB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.6233, allocations: 0 / 0.5624 GB, free: 6.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005533/0.6238, allocations: 0 / 0.5624 GB, free: 6.5 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02664/0.6505, allocations: 5.824 MB / 0.5681 GB, free: 2.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.6505, allocations: 8.75 kB / 0.5681 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.6698, allocations: 2.628 MB / 0.5707 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.6799, allocations: 3.265 MB / 0.5739 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.6803, allocations: 253.5 kB / 0.5741 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.6825, allocations: 352.4 kB / 0.5745 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/0.7132, allocations: 12.46 MB / 0.5866 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/0.7135, allocations: 49.8 kB / 0.5867 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000872/0.7143, allocations: 165.9 kB / 0.5868 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004474/0.7188, allocations: 2.379 MB / 0.5892 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/0.7445, allocations: 10.81 MB / 0.5997 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07399/0.8185, allocations: 45.38 MB / 0.644 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.8354, allocations: 5.338 MB / 0.6492 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/0.8403, allocations: 3.013 MB / 0.6522 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02233/0.8626, allocations: 11.71 MB / 0.6636 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.8627, allocations: 59.81 kB / 0.6637 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.6e-06/0.8627, allocations: 0 / 0.6637 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1641/1.027, allocations: 36.19 MB / 0.699 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/1.027, allocations: 217.8 kB / 0.6992 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009455/1.036, allocations: 4.073 MB / 0.7032 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.038, allocations: 65.7 kB / 0.7033 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004137/1.042, allocations: 3.546 MB / 0.7067 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.044, allocations: 1.027 MB / 0.7077 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/1.047, allocations: 1.427 MB / 0.7091 GB, free: 10.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.047, allocations: 309.1 kB / 0.7094 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005652/1.053, allocations: 3.278 MB / 0.7126 GB, free: 7.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009047/1.062, allocations: 7.247 MB / 0.7197 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/1.078, allocations: 11.22 MB / 0.7307 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/1.078, allocations: 40 kB / 0.7307 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03268/1.111, allocations: 13.19 MB / 0.7436 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/1.111, allocations: 67.98 kB / 0.7436 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003457/1.111, allocations: 139.8 kB / 0.7438 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/1.123, allocations: 3.393 MB / 0.7471 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007289/1.13, allocations: 1.579 MB / 0.7486 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3331/1.463, allocations: 16.9 MB / 0.7651 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/1.471, allocations: 436.4 kB / 0.7656 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002279/1.473, allocations: 414.5 kB / 0.7659 GB, free: 190.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * Array equations: 3 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006773/1.48, allocations: 2.341 MB / 0.7682 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.481, allocations: 384 kB / 0.7686 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/1.499, allocations: 7.932 MB / 0.7763 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.894e-05/1.5, allocations: 26.94 kB / 0.7764 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/1.5, allocations: 10.88 kB / 0.7764 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-05/1.5, allocations: 12.53 kB / 0.7764 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0342/1.534, allocations: 13.85 MB / 0.7899 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.155e-05/1.534, allocations: 0 / 0.7899 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.536, allocations: 385 kB / 0.7903 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009327/1.546, allocations: 3.165 MB / 0.7934 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007267/1.546, allocations: 44.47 kB / 0.7934 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/1.566, allocations: 15.51 MB / 0.8086 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.566, allocations: 2.594 kB / 0.8086 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/1.585, allocations: 12.08 MB / 0.8204 GB, free: 167 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/1.588, allocations: 0.8319 MB / 0.8212 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.589, allocations: 40 kB / 0.8212 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.592, allocations: 187.7 kB / 0.8214 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/1.592, allocations: 166.7 kB / 0.8216 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/1.593, allocations: 68.52 kB / 0.8216 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0036/1.596, allocations: 2.365 MB / 0.8239 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.596, allocations: 3.969 kB / 0.8239 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007466/1.604, allocations: 1.361 MB / 0.8253 GB, free: 162.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007213/1.604, allocations: 170.9 kB / 0.8254 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.616, allocations: 7.694 MB / 0.8329 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.616, allocations: 0 / 0.8329 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004761/1.621, allocations: 3.061 MB / 0.8359 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.624, allocations: 444.3 kB / 0.8364 GB, free: 151 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/1.647, allocations: 12.09 MB / 0.8482 GB, free: 139 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/1.651, allocations: 3.153 MB / 0.8512 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005072/1.657, allocations: 2.13 MB / 0.8533 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.658, allocations: 263.4 kB / 0.8536 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.505e-06/1.658, allocations: 4 kB / 0.8536 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08988/1.748, allocations: 59.27 MB / 0.9115 GB, free: 74.09 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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: 9.136367248371243]