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.001715/0.001715, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002073/0.002073, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2413/0.2413, allocations: 46.88 MB / 361.1 MB, free: 4.633 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.002346/0.002346, allocations: 83.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.02153/0.4049, allocations: 12.03 MB / 0.573 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.4164, allocations: 4.42 MB / 0.5773 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.4185, allocations: 75.75 kB / 0.5773 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005979/0.4245, allocations: 2.795 MB / 0.5801 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.4311, allocations: 2.066 MB / 0.5821 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.4337, allocations: 1.002 MB / 0.5831 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008594/0.4423, allocations: 5.373 MB / 0.5883 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004644/0.4469, allocations: 2.62 MB / 0.5909 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.4506, allocations: 1.748 MB / 0.5926 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/0.4554, allocations: 2.644 MB / 0.5952 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4569, allocations: 368 kB / 0.5955 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.4608, allocations: 1.451 MB / 0.5969 GB, free: 304 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.4643, allocations: 2.232 MB / 0.5991 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.4687, allocations: 2.481 MB / 0.6015 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.4804, allocations: 8.038 MB / 0.6094 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4804, allocations: 0 / 0.6094 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4804, allocations: 0 / 0.6094 GB, free: 3.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002804/0.4807, allocations: 3.938 kB / 0.6094 GB, free: 3.488 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.01641/0.4971, allocations: 5.866 MB / 0.6151 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.4971, allocations: 8.922 kB / 0.6151 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.5153, allocations: 2.626 MB / 0.6177 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.5249, allocations: 3.175 MB / 0.6208 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.5251, allocations: 258.8 kB / 0.621 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.5265, allocations: 347.8 kB / 0.6214 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.5526, allocations: 12.37 MB / 0.6334 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.5528, allocations: 55.53 kB / 0.6335 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005738/0.5534, allocations: 163.8 kB / 0.6337 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004377/0.5577, allocations: 2.377 MB / 0.636 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/0.5814, allocations: 10.84 MB / 0.6466 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07741/0.6588, allocations: 48.67 MB / 0.6941 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/0.6764, allocations: 5.804 MB / 0.6998 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/0.6814, allocations: 3.002 MB / 0.7027 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02449/0.7059, allocations: 13.52 MB / 0.7159 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.706, allocations: 59.81 kB / 0.7159 GB, free: 3.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.639e-06/0.706, allocations: 0 / 0.7159 GB, free: 3.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.379/1.085, allocations: 36.52 MB / 0.7516 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.085, allocations: 215.8 kB / 0.7518 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/1.09, allocations: 4.372 MB / 0.7561 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004104/1.091, allocations: 64.08 kB / 0.7561 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.092, allocations: 3.513 MB / 0.7596 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007957/1.093, allocations: 1.025 MB / 0.7606 GB, free: 146 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/1.094, allocations: 1.432 MB / 0.762 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/1.094, allocations: 303.1 kB / 0.7623 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/1.098, allocations: 3.283 MB / 0.7655 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/1.103, allocations: 7.209 MB / 0.7725 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009668/1.113, allocations: 11.23 MB / 0.7835 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.193e-05/1.113, allocations: 40 kB / 0.7835 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02191/1.135, allocations: 13.27 MB / 0.7965 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/1.135, allocations: 66.03 kB / 0.7965 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.135, allocations: 136 kB / 0.7967 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009129/1.144, allocations: 3.398 MB / 0.8 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.149, allocations: 1.575 MB / 0.8015 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.171, allocations: 17.56 MB / 0.8187 GB, free: 83.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00739/1.179, allocations: 431.5 kB / 0.8191 GB, free: 82.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.18, allocations: 408 kB / 0.8195 GB, free: 82.21 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.003844/1.184, allocations: 2.351 MB / 0.8218 GB, free: 79.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/1.184, allocations: 421.2 kB / 0.8222 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.199, allocations: 7.971 MB / 0.83 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/1.199, allocations: 28 kB / 0.83 GB, free: 71.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.199, allocations: 12 kB / 0.83 GB, free: 71.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-05/1.199, allocations: 13.03 kB / 0.83 GB, free: 71.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02628/1.225, allocations: 15.35 MB / 0.845 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/1.225, allocations: 8 kB / 0.845 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.227, allocations: 387.4 kB / 0.8454 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008899/1.236, allocations: 3.165 MB / 0.8485 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005705/1.237, allocations: 44 kB / 0.8485 GB, free: 52.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/1.255, allocations: 15.81 MB / 0.8639 GB, free: 36.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.255, allocations: 3.938 kB / 0.8639 GB, free: 36.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.274, allocations: 12.12 MB / 0.8758 GB, free: 24.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.275, allocations: 474.1 kB / 0.8762 GB, free: 23.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008498/1.276, allocations: 53.53 kB / 0.8763 GB, free: 23.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.279, allocations: 187.7 kB / 0.8765 GB, free: 23.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005534/1.279, allocations: 150.2 kB / 0.8766 GB, free: 23.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.279, allocations: 67.98 kB / 0.8767 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003495/1.283, allocations: 2.725 MB / 0.8793 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.283, allocations: 0 / 0.8793 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006145/1.289, allocations: 1.348 MB / 0.8807 GB, free: 19.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.0006429/1.29, allocations: 185 kB / 0.8808 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.302, allocations: 7.849 MB / 0.8885 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.302, allocations: 0 / 0.8885 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/1.307, allocations: 3.068 MB / 0.8915 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.31, allocations: 0.4933 MB / 0.892 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/1.33, allocations: 12.12 MB / 0.9038 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005316/1.335, allocations: 3.666 MB / 0.9074 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005441/1.34, allocations: 2.18 MB / 0.9095 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.342, allocations: 287.3 kB / 0.9098 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.342, allocations: 0 / 0.9098 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.114/1.456, allocations: 59.73 MB / 0.9681 GB, free: 9.863 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.337197738233954]