Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001404/0.001404, allocations: 84 kB / 20.68 MB, free: 1.023 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.001639/0.001639, allocations: 163.6 kB / 23.95 MB, free: 4.156 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1972/0.1972, allocations: 32.81 MB / 293.5 MB, free: 32 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.137e-05, allocations: 6.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1935/0.1935, allocations: 11.58 MB / 451.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008101/0.2016, allocations: 4.637 MB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.2033, allocations: 96.16 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006759/0.2101, allocations: 4.069 MB / 460.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.2157, allocations: 2.315 MB / 462.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.2184, allocations: 1.294 MB / 464.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007995/0.2264, allocations: 6.543 MB / 470.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005027/0.2314, allocations: 4.54 MB / 475.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/0.2368, allocations: 3.319 MB / 478.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.2411, allocations: 3.205 MB / 481.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.2422, allocations: 0.5115 MB / 482.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.2463, allocations: 1.599 MB / 483.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00335/0.2497, allocations: 2.832 MB / 486.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003341/0.253, allocations: 1.788 MB / 488.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.2658, allocations: 10.08 MB / 498.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2658, allocations: 4 kB / 498.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2658, allocations: 0 / 498.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002499/0.266, allocations: 4 kB / 498.5 MB, free: 15.51 MB / 398.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.01611/0.2821, allocations: 6.633 MB / 0.4933 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2822, allocations: 8.031 kB / 0.4933 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.3014, allocations: 2.86 MB / 0.4961 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008852/0.3103, allocations: 3.567 MB / 0.4996 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.3106, allocations: 372.1 kB / 0.5 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.3122, allocations: 436.5 kB / 0.5004 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/0.3424, allocations: 13.98 MB / 0.514 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.3426, allocations: 51.53 kB / 0.5141 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000682/0.3433, allocations: 207.8 kB / 0.5143 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003991/0.3473, allocations: 2.406 MB / 0.5166 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/0.3728, allocations: 11.77 MB / 0.5281 GB, free: 4.195 MB / 430.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.06924/0.4421, allocations: 48.22 MB / 0.5752 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.4559, allocations: 4.308 MB / 0.5794 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.4603, allocations: 2.75 MB / 0.5821 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/0.48, allocations: 10.31 MB / 0.5922 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.4801, allocations: 55.81 kB / 0.5922 GB, free: 1.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 5.841e-06/0.4801, allocations: 0 / 0.5922 GB, free: 1.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1659/0.646, allocations: 44.77 MB / 0.6359 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.6461, allocations: 227.6 kB / 0.6362 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2083/0.8544, allocations: 4.655 MB / 0.6407 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000778/0.8552, allocations: 63.02 kB / 0.6408 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002742/0.8579, allocations: 3.991 MB / 0.6447 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.8591, allocations: 0.9675 MB / 0.6456 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.8614, allocations: 1.493 MB / 0.6471 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.8614, allocations: 302.5 kB / 0.6474 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/0.8667, allocations: 3.445 MB / 0.6507 GB, free: 167 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/0.8738, allocations: 7.757 MB / 0.6583 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.8865, allocations: 11.88 MB / 0.6699 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/0.8867, allocations: 42.62 kB / 0.6699 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02858/0.9153, allocations: 14.41 MB / 0.684 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.9154, allocations: 69.84 kB / 0.6841 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/0.9156, allocations: 146.9 kB / 0.6842 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/0.9272, allocations: 4.023 MB / 0.6881 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/0.9323, allocations: 1.635 MB / 0.6897 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.9544, allocations: 19.51 MB / 0.7088 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006362/0.9608, allocations: 0.5111 MB / 0.7093 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/0.9618, allocations: 432 kB / 0.7097 GB, free: 124.4 MB / 0.5294 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.003686/0.9655, allocations: 2.649 MB / 0.7123 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008273/0.9663, allocations: 405.3 kB / 0.7127 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/0.983, allocations: 8.57 MB / 0.7211 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-05/0.983, allocations: 31.94 kB / 0.7211 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.983, allocations: 12 kB / 0.7211 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/0.9831, allocations: 13.03 kB / 0.7211 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.011, allocations: 16.23 MB / 0.737 GB, free: 96.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/1.011, allocations: 0 / 0.737 GB, free: 96.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.013, allocations: 399.4 kB / 0.7373 GB, free: 96.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/1.024, allocations: 4.074 MB / 0.7413 GB, free: 92.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.025, allocations: 47.98 kB / 0.7414 GB, free: 92.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/1.045, allocations: 17.91 MB / 0.7589 GB, free: 74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.045, allocations: 3.938 kB / 0.7589 GB, free: 74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/1.067, allocations: 13.17 MB / 0.7717 GB, free: 60.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.068, allocations: 395.2 kB / 0.7721 GB, free: 60.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.069, allocations: 36 kB / 0.7721 GB, free: 60.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.071, allocations: 263.6 kB / 0.7724 GB, free: 60.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/1.072, allocations: 162.1 kB / 0.7725 GB, free: 59.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.072, allocations: 63.98 kB / 0.7726 GB, free: 59.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003211/1.075, allocations: 2.738 MB / 0.7753 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 0 / 0.7753 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006655/1.082, allocations: 1.57 MB / 0.7768 GB, free: 55.58 MB / 0.5294 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.0006402/1.082, allocations: 233.8 kB / 0.777 GB, free: 55.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009658/1.092, allocations: 7.909 MB / 0.7848 GB, free: 47.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.092, allocations: 4.188 kB / 0.7848 GB, free: 47.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.095, allocations: 2.861 MB / 0.7876 GB, free: 44.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.098, allocations: 478.4 kB / 0.788 GB, free: 44.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.115, allocations: 13.06 MB / 0.8008 GB, free: 31.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/1.118, allocations: 3.58 MB / 0.8043 GB, free: 27.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004047/1.123, allocations: 2.129 MB / 0.8063 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/1.123, allocations: 276.5 kB / 0.8066 GB, free: 25.02 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/1.123, allocations: 3.938 kB / 0.8066 GB, free: 25.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.2776/1.401, allocations: 59.11 MB / 0.8643 GB, free: 169.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.511111304163933]