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.001387/0.001387, 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.001484/0.001484, 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.553/1.553, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.244/0.244, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.002459/0.002459, allocations: 79.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.376, allocations: 66 MB / 0.5612 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01593/0.392, allocations: 12.03 MB / 0.573 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.404, allocations: 4.429 MB / 0.5773 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.4062, allocations: 71.81 kB / 0.5773 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005674/0.4118, allocations: 2.799 MB / 0.5801 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.419, allocations: 2.062 MB / 0.5821 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.4216, allocations: 1.006 MB / 0.5831 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009223/0.4308, allocations: 5.368 MB / 0.5883 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004634/0.4355, allocations: 2.62 MB / 0.5909 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.4394, allocations: 1.752 MB / 0.5926 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.4448, allocations: 2.636 MB / 0.5952 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.446, allocations: 368 kB / 0.5955 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.4495, allocations: 1.451 MB / 0.5969 GB, free: 124 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.4524, allocations: 2.24 MB / 0.5991 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004974/0.4574, allocations: 2.478 MB / 0.6015 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.4698, allocations: 8.041 MB / 0.6094 GB, free: 3.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4698, allocations: 0 / 0.6094 GB, free: 3.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4698, allocations: 0 / 0.6094 GB, free: 3.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002628/0.4701, allocations: 4 kB / 0.6094 GB, free: 3.309 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.01543/0.4855, allocations: 5.87 MB / 0.6151 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4855, allocations: 12.03 kB / 0.6151 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.5032, allocations: 2.626 MB / 0.6177 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009441/0.5126, allocations: 3.16 MB / 0.6208 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.513, allocations: 258.8 kB / 0.621 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.5148, allocations: 351.8 kB / 0.6214 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.5394, allocations: 12.36 MB / 0.6334 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.5396, allocations: 51.53 kB / 0.6335 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.5401, allocations: 167.8 kB / 0.6337 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004182/0.5443, allocations: 2.381 MB / 0.636 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02402/0.5683, allocations: 10.84 MB / 0.6466 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07684/0.6451, allocations: 48.68 MB / 0.6941 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/0.6618, allocations: 5.801 MB / 0.6998 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004443/0.6662, allocations: 3.006 MB / 0.7027 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02448/0.6907, allocations: 13.52 MB / 0.7159 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.6907, allocations: 55.88 kB / 0.716 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.61e-06/0.6907, allocations: 0 / 0.716 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4138/1.105, allocations: 36.52 MB / 0.7516 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.105, allocations: 213.1 kB / 0.7518 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/1.111, allocations: 4.371 MB / 0.7561 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007992/1.111, allocations: 64.31 kB / 0.7562 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.113, allocations: 3.508 MB / 0.7596 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.115, allocations: 1.025 MB / 0.7606 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/1.117, allocations: 1.438 MB / 0.762 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.117, allocations: 304 kB / 0.7623 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/1.121, allocations: 3.282 MB / 0.7655 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.126, allocations: 7.204 MB / 0.7725 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009855/1.136, allocations: 11.24 MB / 0.7835 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/1.136, allocations: 40 kB / 0.7835 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02365/1.16, allocations: 13.26 MB / 0.7965 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/1.16, allocations: 64 kB / 0.7966 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.16, allocations: 136 kB / 0.7967 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009319/1.169, allocations: 3.402 MB / 0.8 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005539/1.175, allocations: 1.571 MB / 0.8015 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/1.197, allocations: 17.55 MB / 0.8187 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/1.203, allocations: 435.4 kB / 0.8191 GB, free: 83.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.204, allocations: 408 kB / 0.8195 GB, free: 82.62 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.003665/1.208, allocations: 2.352 MB / 0.8218 GB, free: 80.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/1.208, allocations: 425.1 kB / 0.8222 GB, free: 79.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.223, allocations: 7.959 MB / 0.83 GB, free: 71.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/1.223, allocations: 28 kB / 0.83 GB, free: 71.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.223, allocations: 8 kB / 0.83 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/1.223, allocations: 15.95 kB / 0.83 GB, free: 71.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.25, allocations: 15.35 MB / 0.845 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/1.25, allocations: 4 kB / 0.845 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.252, allocations: 387.4 kB / 0.8454 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008767/1.261, allocations: 3.161 MB / 0.8485 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005778/1.261, allocations: 43.98 kB / 0.8485 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.28, allocations: 15.82 MB / 0.864 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.28, allocations: 8 kB / 0.864 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.297, allocations: 12.12 MB / 0.8758 GB, free: 24.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.298, allocations: 466.2 kB / 0.8762 GB, free: 24.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007698/1.299, allocations: 47.98 kB / 0.8763 GB, free: 24.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.302, allocations: 187.7 kB / 0.8765 GB, free: 23.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/1.302, allocations: 150.2 kB / 0.8766 GB, free: 23.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.302, allocations: 64 kB / 0.8767 GB, free: 23.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003634/1.306, allocations: 2.725 MB / 0.8793 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.306, allocations: 0 / 0.8793 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007904/1.314, allocations: 1.36 MB / 0.8807 GB, free: 19.66 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.0008607/1.315, allocations: 178.8 kB / 0.8808 GB, free: 19.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.327, allocations: 7.848 MB / 0.8885 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.327, allocations: 0 / 0.8885 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004933/1.332, allocations: 3.061 MB / 0.8915 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.336, allocations: 0.4984 MB / 0.892 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.358, allocations: 12.13 MB / 0.9038 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/1.364, allocations: 3.662 MB / 0.9074 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005861/1.37, allocations: 2.18 MB / 0.9095 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.371, allocations: 283.4 kB / 0.9098 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of SimCode: time 1.362e-06/1.371, allocations: 0 / 0.9098 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of Templates: time 0.1157/1.487, allocations: 59.72 MB / 0.9681 GB, free: 10.29 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 cvode -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.827802115119994]