Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.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.001666/0.001666, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 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.002516/0.002516, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.606/1.606, allocations: 230.3 MB / 258 MB, free: 8.191 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.2304/0.2304, allocations: 46.93 MB / 361.4 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] 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.JointUPS2,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.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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2") [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.002509/0.002509, allocations: 79.86 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3609, allocations: 66.04 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0155/0.3764, allocations: 12.04 MB / 0.5734 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3879, allocations: 4.421 MB / 0.5777 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.3904, allocations: 87.56 kB / 0.5778 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006027/0.3964, allocations: 2.807 MB / 0.5806 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.4025, allocations: 2.062 MB / 0.5826 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4048, allocations: 1.002 MB / 0.5835 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007342/0.4122, allocations: 5.381 MB / 0.5888 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.4155, allocations: 2.624 MB / 0.5914 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.418, allocations: 1.776 MB / 0.5931 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/0.422, allocations: 2.644 MB / 0.5957 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007446/0.4228, allocations: 368 kB / 0.596 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.4254, allocations: 1.455 MB / 0.5975 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002163/0.4276, allocations: 2.236 MB / 0.5996 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.4305, allocations: 2.474 MB / 0.6021 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4409, allocations: 8.042 MB / 0.6099 GB, free: 2.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4409, allocations: 3.938 kB / 0.6099 GB, free: 2.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4409, allocations: 4 kB / 0.6099 GB, free: 2.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002311/0.4412, allocations: 0 / 0.6099 GB, free: 2.902 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01438/0.4555, allocations: 5.798 MB / 0.6156 GB, free: 13.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4556, allocations: 12.03 kB / 0.6156 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.4711, allocations: 2.626 MB / 0.6182 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007766/0.4789, allocations: 3.08 MB / 0.6212 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.4791, allocations: 258.8 kB / 0.6214 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008129/0.4799, allocations: 347.9 kB / 0.6217 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.5018, allocations: 12.36 MB / 0.6338 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.5019, allocations: 55.53 kB / 0.6339 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.5023, allocations: 163.8 kB / 0.634 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003854/0.5062, allocations: 2.385 MB / 0.6363 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.5282, allocations: 10.84 MB / 0.6469 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06279/0.5909, allocations: 48.56 MB / 0.6944 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/0.6067, allocations: 5.352 MB / 0.6996 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/0.6113, allocations: 3.006 MB / 0.7025 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02159/0.6329, allocations: 12.38 MB / 0.7146 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.46e-05/0.6329, allocations: 55.88 kB / 0.7147 GB, free: 5.188 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.849e-06/0.6329, allocations: 0 / 0.7147 GB, free: 5.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4548/1.088, allocations: 36.07 MB / 0.7499 GB, free: 151 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.088, allocations: 208.7 kB / 0.7501 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/1.094, allocations: 4.375 MB / 0.7544 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007435/1.095, allocations: 65.33 kB / 0.7544 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.098, allocations: 3.512 MB / 0.7579 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.099, allocations: 1.027 MB / 0.7589 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/1.1, allocations: 1.43 MB / 0.7603 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/1.101, allocations: 301.1 kB / 0.7605 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/1.104, allocations: 3.289 MB / 0.7638 GB, free: 143 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/1.11, allocations: 7.205 MB / 0.7708 GB, free: 134 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/1.121, allocations: 11.23 MB / 0.7818 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.121, allocations: 40 kB / 0.7818 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02402/1.145, allocations: 13.26 MB / 0.7948 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/1.145, allocations: 67.98 kB / 0.7948 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/1.145, allocations: 136 kB / 0.7949 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008582/1.153, allocations: 3.406 MB / 0.7983 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/1.159, allocations: 1.575 MB / 0.7998 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/1.179, allocations: 17.43 MB / 0.8168 GB, free: 84.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/1.185, allocations: 435.4 kB / 0.8172 GB, free: 84.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.187, allocations: 408 kB / 0.8176 GB, free: 83.98 MB / 0.5606 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004019/1.191, allocations: 2.346 MB / 0.8199 GB, free: 81.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009881/1.192, allocations: 425.2 kB / 0.8203 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.206, allocations: 7.97 MB / 0.8281 GB, free: 73.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.206, allocations: 28 kB / 0.8281 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/1.206, allocations: 15.98 kB / 0.8282 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/1.206, allocations: 11.72 kB / 0.8282 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.232, allocations: 15.32 MB / 0.8431 GB, free: 57.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/1.232, allocations: 4.734 kB / 0.8431 GB, free: 57.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.234, allocations: 383.5 kB / 0.8435 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00851/1.242, allocations: 3.173 MB / 0.8466 GB, free: 54.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005055/1.243, allocations: 40 kB / 0.8466 GB, free: 54.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/1.262, allocations: 15.71 MB / 0.862 GB, free: 38.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.262, allocations: 0 / 0.862 GB, free: 38.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.28, allocations: 12.13 MB / 0.8738 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.281, allocations: 397 kB / 0.8742 GB, free: 25.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/1.282, allocations: 36.47 kB / 0.8742 GB, free: 25.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.284, allocations: 191.7 kB / 0.8744 GB, free: 25.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006069/1.285, allocations: 170 kB / 0.8746 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.285, allocations: 67.98 kB / 0.8747 GB, free: 25.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004001/1.289, allocations: 2.729 MB / 0.8773 GB, free: 22.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.289, allocations: 3.938 kB / 0.8773 GB, free: 22.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007526/1.296, allocations: 1.351 MB / 0.8786 GB, free: 21.26 MB / 0.5606 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.0005778/1.297, allocations: 178.5 kB / 0.8788 GB, free: 21.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.308, allocations: 7.854 MB / 0.8865 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.308, allocations: 0 / 0.8865 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004441/1.313, allocations: 3.055 MB / 0.8895 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/1.316, allocations: 0.4945 MB / 0.8899 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/1.338, allocations: 12.12 MB / 0.9018 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005626/1.344, allocations: 3.666 MB / 0.9054 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005714/1.349, allocations: 2.174 MB / 0.9075 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.35, allocations: 283.4 kB / 0.9078 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of SimCode: time 1.293e-06/1.35, allocations: 0 / 0.9078 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.1239/1.474, allocations: 62.58 MB / 0.9689 GB, free: 9.105 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.686674729920924]