Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001449/0.001449, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001686/0.001686, allocations: 168.8 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 32.81 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002275/0.002275, allocations: 71.89 kB / 440.6 MB, free: 9.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2946, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01063/0.3052, allocations: 10.46 MB / 0.5044 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007175/0.3124, allocations: 4.182 MB / 0.5085 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.3142, allocations: 87.97 kB / 0.5085 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004365/0.3186, allocations: 2.697 MB / 0.5112 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.3232, allocations: 2.063 MB / 0.5132 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.3253, allocations: 1.006 MB / 0.5142 GB, free: 19.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007476/0.3328, allocations: 5.37 MB / 0.5194 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.3368, allocations: 2.88 MB / 0.5222 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.3404, allocations: 1.773 MB / 0.524 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.3452, allocations: 2.511 MB / 0.5264 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.3467, allocations: 368.2 kB / 0.5268 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.3505, allocations: 1.3 MB / 0.528 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00363/0.3541, allocations: 2.237 MB / 0.5302 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004519/0.3586, allocations: 1.834 MB / 0.532 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009562/0.3682, allocations: 8.077 MB / 0.5399 GB, free: 7.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3682, allocations: 0 / 0.5399 GB, free: 7.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3682, allocations: 4 kB / 0.5399 GB, free: 7.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002287/0.3684, allocations: 1.062 kB / 0.5399 GB, free: 7.367 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.01655/0.385, allocations: 5.8 MB / 0.5456 GB, free: 3.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.385, allocations: 13.16 kB / 0.5456 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.4037, allocations: 2.737 MB / 0.5482 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008707/0.4124, allocations: 3.096 MB / 0.5513 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.4127, allocations: 254.8 kB / 0.5515 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.4145, allocations: 355.8 kB / 0.5519 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.4421, allocations: 12.48 MB / 0.564 GB, free: 428 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.4422, allocations: 55.53 kB / 0.5641 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.4428, allocations: 159.8 kB / 0.5642 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004364/0.4471, allocations: 2.389 MB / 0.5666 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.4723, allocations: 10.83 MB / 0.5772 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07144/0.5437, allocations: 45.49 MB / 0.6216 GB, free: 4.254 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/0.561, allocations: 5.528 MB / 0.627 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/0.566, allocations: 3.021 MB / 0.6299 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/0.5897, allocations: 11.75 MB / 0.6414 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.325e-05/0.5898, allocations: 59.86 kB / 0.6415 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 6.282e-06/0.5898, allocations: 0 / 0.6415 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.1189/0.7087, allocations: 37.08 MB / 0.6777 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.7089, allocations: 205.9 kB / 0.6779 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006335/0.7152, allocations: 4.052 MB / 0.6818 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007142/0.7159, allocations: 65.7 kB / 0.6819 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00308/0.719, allocations: 3.536 MB / 0.6853 GB, free: 2.719 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/0.7206, allocations: 1.031 MB / 0.6864 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/0.723, allocations: 1.429 MB / 0.6877 GB, free: 248 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.2567/0.9797, allocations: 301.1 kB / 0.688 GB, free: 155.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006292/0.986, allocations: 3.282 MB / 0.6912 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006776/0.9928, allocations: 7.263 MB / 0.6983 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.004, allocations: 11.24 MB / 0.7093 GB, free: 140 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.004, allocations: 39.91 kB / 0.7093 GB, free: 140 MB / 0.5763 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02803/1.032, allocations: 13.21 MB / 0.7222 GB, free: 135.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.032, allocations: 62.78 kB / 0.7223 GB, free: 135.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.032, allocations: 136.2 kB / 0.7224 GB, free: 135.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.042, allocations: 3.396 MB / 0.7258 GB, free: 135.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/1.049, allocations: 1.576 MB / 0.7273 GB, free: 135 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/1.072, allocations: 16.89 MB / 0.7438 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/1.078, allocations: 457.5 kB / 0.7442 GB, free: 127.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.079, allocations: 412.8 kB / 0.7446 GB, free: 127.5 MB / 0.5763 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.004607/1.084, allocations: 2.345 MB / 0.7469 GB, free: 125.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009603/1.085, allocations: 378.3 kB / 0.7473 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.1, allocations: 7.929 MB / 0.755 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/1.1, allocations: 28 kB / 0.755 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.1, allocations: 12 kB / 0.7551 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.635e-05/1.1, allocations: 17.33 kB / 0.7551 GB, free: 119.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.126, allocations: 13.87 MB / 0.7686 GB, free: 106 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.126, allocations: 3.938 kB / 0.7686 GB, free: 106 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.128, allocations: 387.4 kB / 0.769 GB, free: 105.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00839/1.137, allocations: 3.167 MB / 0.7721 GB, free: 102.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004242/1.137, allocations: 44 kB / 0.7721 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/1.156, allocations: 15.51 MB / 0.7873 GB, free: 86.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.156, allocations: 4 kB / 0.7873 GB, free: 86.93 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.175, allocations: 12.08 MB / 0.7991 GB, free: 74.91 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.176, allocations: 344.9 kB / 0.7994 GB, free: 74.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.177, allocations: 40 kB / 0.7994 GB, free: 74.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.18, allocations: 195.5 kB / 0.7996 GB, free: 74.36 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/1.181, allocations: 170.1 kB / 0.7998 GB, free: 74.19 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003325/1.181, allocations: 63.98 kB / 0.7998 GB, free: 74.13 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00404/1.185, allocations: 2.349 MB / 0.8021 GB, free: 71.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 0.8021 GB, free: 71.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007217/1.193, allocations: 1.338 MB / 0.8034 GB, free: 70.46 MB / 0.5763 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.0007629/1.193, allocations: 174.7 kB / 0.8036 GB, free: 70.29 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.205, allocations: 7.695 MB / 0.8111 GB, free: 62.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.205, allocations: 0 / 0.8111 GB, free: 62.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/1.21, allocations: 3.061 MB / 0.8141 GB, free: 59.53 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/1.214, allocations: 447.7 kB / 0.8145 GB, free: 59.11 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/1.244, allocations: 12.06 MB / 0.8263 GB, free: 47.04 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/1.249, allocations: 3.138 MB / 0.8294 GB, free: 43.86 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007111/1.257, allocations: 2.134 MB / 0.8315 GB, free: 41.72 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.258, allocations: 264.5 kB / 0.8317 GB, free: 41.46 MB / 0.5763 GB Notification: Performance of SimCode: time 8.71e-07/1.258, allocations: 0 / 0.8317 GB, free: 41.46 MB / 0.5763 GB Notification: Performance of Templates: time 0.0983/1.356, allocations: 53.96 MB / 0.8844 GB, free: 3.98 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.777386423083954]