Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.001385/0.001385, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.001608/0.001608, allocations: 167.4 kB / 23.76 MB, free: 4.195 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.385/1.385, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.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.2154/0.2154, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [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.002348/0.002348, allocations: 67.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.14, allocations: 61.05 MB / 468.8 MB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3062/0.4462, allocations: 11.62 MB / 480.4 MB, free: 43.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009868/0.456, allocations: 4.624 MB / 485.1 MB, free: 42.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.4585, allocations: 97.56 kB / 485.2 MB, free: 42.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00657/0.4651, allocations: 3.887 MB / 489 MB, free: 40.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.4709, allocations: 2.274 MB / 491.3 MB, free: 39.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4735, allocations: 1.193 MB / 492.5 MB, free: 39.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006997/0.4805, allocations: 5.58 MB / 498.1 MB, free: 37.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00492/0.4854, allocations: 4.036 MB / 0.4904 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.4898, allocations: 2.222 MB / 0.4925 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/0.4959, allocations: 3.006 MB / 0.4955 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003417/0.4994, allocations: 0.5007 MB / 0.4959 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006511/0.5059, allocations: 1.544 MB / 0.4975 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006636/0.5125, allocations: 2.738 MB / 0.5001 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009316/0.5218, allocations: 2.269 MB / 0.5023 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.5426, allocations: 10.04 MB / 0.5121 GB, free: 26.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5426, allocations: 0 / 0.5121 GB, free: 26.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5426, allocations: 0 / 0.5121 GB, free: 26.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005203/0.5432, allocations: 0 / 0.5121 GB, free: 26.01 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0294/0.5726, allocations: 6.622 MB / 0.5186 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5726, allocations: 8.812 kB / 0.5186 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.5944, allocations: 2.857 MB / 0.5214 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.6054, allocations: 3.751 MB / 0.5251 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004387/0.6058, allocations: 376.8 kB / 0.5254 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002286/0.6081, allocations: 435.8 kB / 0.5259 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/0.6392, allocations: 13.96 MB / 0.5395 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002755/0.6395, allocations: 63.45 kB / 0.5395 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.6413, allocations: 203.8 kB / 0.5397 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.645, allocations: 2.402 MB / 0.5421 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/0.6752, allocations: 11.77 MB / 0.5536 GB, free: 6.016 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08797/0.7631, allocations: 47.75 MB / 0.6002 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.7778, allocations: 4.309 MB / 0.6044 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005337/0.7831, allocations: 2.753 MB / 0.6071 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02779/0.8109, allocations: 10.23 MB / 0.6171 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/0.811, allocations: 55.81 kB / 0.6171 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 8.115e-06/0.811, allocations: 7.938 kB / 0.6172 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1836/0.9947, allocations: 44.91 MB / 0.661 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.9949, allocations: 239.6 kB / 0.6612 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009368/1.004, allocations: 4.529 MB / 0.6657 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008441/1.005, allocations: 69.72 kB / 0.6657 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004353/1.009, allocations: 4.015 MB / 0.6697 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/1.011, allocations: 0.9807 MB / 0.6706 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003445/1.015, allocations: 1.504 MB / 0.6721 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.015, allocations: 309.1 kB / 0.6724 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007023/1.022, allocations: 3.438 MB / 0.6757 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01252/1.035, allocations: 7.753 MB / 0.6833 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3302/1.365, allocations: 11.87 MB / 0.6949 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001913/1.365, allocations: 43.81 kB / 0.6949 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03072/1.396, allocations: 14.4 MB / 0.709 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/1.396, allocations: 67.44 kB / 0.7091 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/1.396, allocations: 148.5 kB / 0.7092 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/1.408, allocations: 4.013 MB / 0.7131 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006288/1.415, allocations: 1.634 MB / 0.7147 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03552/1.45, allocations: 19.51 MB / 0.7338 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008079/1.458, allocations: 488 kB / 0.7342 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002551/1.461, allocations: 430.1 kB / 0.7347 GB, free: 169.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 876 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009651/1.47, allocations: 2.661 MB / 0.7373 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002341/1.473, allocations: 412 kB / 0.7377 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/1.495, allocations: 8.556 MB / 0.746 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.654e-05/1.495, allocations: 34.59 kB / 0.746 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/1.495, allocations: 11.47 kB / 0.7461 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.532e-05/1.495, allocations: 15.86 kB / 0.7461 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04072/1.536, allocations: 16.18 MB / 0.7619 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-05/1.536, allocations: 4 kB / 0.7619 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.538, allocations: 394.5 kB / 0.7622 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/1.55, allocations: 4.072 MB / 0.7662 GB, free: 151 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007047/1.551, allocations: 43.98 kB / 0.7663 GB, free: 151 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/1.575, allocations: 17.9 MB / 0.7837 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.575, allocations: 7.875 kB / 0.7837 GB, free: 133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/1.599, allocations: 13.18 MB / 0.7966 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/1.602, allocations: 0.8623 MB / 0.7975 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/1.603, allocations: 40 kB / 0.7975 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.607, allocations: 219.6 kB / 0.7977 GB, free: 119 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/1.608, allocations: 154.2 kB / 0.7979 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003944/1.608, allocations: 63.98 kB / 0.7979 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005522/1.614, allocations: 2.629 MB / 0.8005 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.614, allocations: 0 / 0.8005 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009433/1.623, allocations: 1.488 MB / 0.8019 GB, free: 114.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.624, allocations: 226.4 kB / 0.8022 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.637, allocations: 7.895 MB / 0.8099 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/1.637, allocations: 0 / 0.8099 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/1.642, allocations: 2.861 MB / 0.8127 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/1.647, allocations: 465 kB / 0.8131 GB, free: 103.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.672, allocations: 13.15 MB / 0.8259 GB, free: 90.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007469/1.68, allocations: 3.594 MB / 0.8294 GB, free: 86.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005616/1.685, allocations: 2.138 MB / 0.8315 GB, free: 84.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.686, allocations: 260.5 kB / 0.8318 GB, free: 84.07 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.686, allocations: 0 / 0.8318 GB, free: 84.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.09169/1.778, allocations: 57.7 MB / 0.8881 GB, free: 26.27 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.453789349994622]