Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001519/0.001519, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001571/0.001571, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.367/0.367, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.194e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01679/0.01682, allocations: 11.6 MB / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.02858, allocations: 4.63 MB / 393.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.03097, allocations: 95.56 kB / 393.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008955/0.03992, allocations: 4.143 MB / 397.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.04684, allocations: 2.325 MB / 400.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.05022, allocations: 1.302 MB / 401.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009951/0.06017, allocations: 6.55 MB / 407.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007373/0.06755, allocations: 4.662 MB / 412.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/0.07436, allocations: 3.31 MB / 415.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005974/0.08033, allocations: 3.215 MB / 419.1 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.08211, allocations: 0.5156 MB / 419.6 MB, free: 8.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.08585, allocations: 1.595 MB / 421.2 MB, free: 6.812 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003957/0.08981, allocations: 2.836 MB / 424.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003706/0.09351, allocations: 1.795 MB / 425.9 MB, free: 2.168 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.1078, allocations: 10.11 MB / 436 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1078, allocations: 0 / 436 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1078, allocations: 0 / 436 MB, free: 8.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003432/0.1082, allocations: 0 / 436 MB, free: 8.023 MB / 410.7 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.01978/0.128, allocations: 6.656 MB / 442.6 MB, free: 1.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.128, allocations: 11.97 kB / 442.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1819/0.3099, allocations: 3.408 MB / 446.1 MB, free: 97.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00835/0.3183, allocations: 3.583 MB / 449.6 MB, free: 96.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.3186, allocations: 380.9 kB / 450 MB, free: 96.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.3201, allocations: 434.4 kB / 450.4 MB, free: 96.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02542/0.3455, allocations: 14.03 MB / 464.5 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.3457, allocations: 61.59 kB / 464.5 MB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00071/0.3464, allocations: 197.9 kB / 464.7 MB, free: 89.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/0.3496, allocations: 2.415 MB / 467.1 MB, free: 89.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/0.3759, allocations: 11.83 MB / 479 MB, free: 85.62 MB / 410.7 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.0609/0.4368, allocations: 48.48 MB / 0.5151 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.4484, allocations: 4.295 MB / 0.5193 GB, free: 37.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/0.4519, allocations: 2.81 MB / 0.522 GB, free: 34.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/0.4698, allocations: 10.48 MB / 0.5323 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.4698, allocations: 55.81 kB / 0.5323 GB, free: 24.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 5.38e-06/0.4698, allocations: 0 / 0.5323 GB, free: 24.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1776/0.6475, allocations: 50.96 MB / 0.5821 GB, free: 5.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.6477, allocations: 235.6 kB / 0.5823 GB, free: 5.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/0.6561, allocations: 4.621 MB / 0.5868 GB, free: 460 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006226/0.6567, allocations: 61.7 kB / 0.5869 GB, free: 392 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003761/0.6605, allocations: 3.969 MB / 0.5907 GB, free: 12.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001577/0.662, allocations: 0.9729 MB / 0.5917 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/0.6649, allocations: 1.485 MB / 0.5931 GB, free: 9.902 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6651, allocations: 301.1 kB / 0.5934 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006607/0.6717, allocations: 3.665 MB / 0.597 GB, free: 5.938 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1758/0.8475, allocations: 7.926 MB / 0.6048 GB, free: 124.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.8601, allocations: 12.27 MB / 0.6167 GB, free: 116.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.8602, allocations: 43.88 kB / 0.6168 GB, free: 116.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.02966/0.8899, allocations: 15.83 MB / 0.6322 GB, free: 111.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.89, allocations: 70.03 kB / 0.6323 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/0.8902, allocations: 152.7 kB / 0.6324 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.016/0.9062, allocations: 5.401 MB / 0.6377 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005661/0.9119, allocations: 1.637 MB / 0.6393 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.941, allocations: 21.41 MB / 0.6602 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/0.9475, allocations: 0.5402 MB / 0.6608 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.9486, allocations: 436 kB / 0.6612 GB, free: 101.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * 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 (876): * Single equations (assignments): 872 * 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 {(3,56,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004171/0.9528, allocations: 2.648 MB / 0.6638 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/0.954, allocations: 477.1 kB / 0.6642 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/0.9731, allocations: 9.709 MB / 0.6737 GB, free: 91.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.598e-05/0.9731, allocations: 31.36 kB / 0.6737 GB, free: 91.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.9731, allocations: 15.44 kB / 0.6737 GB, free: 91.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.9732, allocations: 11.95 kB / 0.6737 GB, free: 91.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.005, allocations: 17.95 MB / 0.6913 GB, free: 73.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/1.005, allocations: 0 / 0.6913 GB, free: 73.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/1.007, allocations: 427.3 kB / 0.6917 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/1.022, allocations: 5.438 MB / 0.697 GB, free: 67.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006505/1.022, allocations: 47.98 kB / 0.697 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/1.046, allocations: 19.85 MB / 0.7164 GB, free: 47.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.046, allocations: 12 kB / 0.7164 GB, free: 47.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/1.07, allocations: 14.75 MB / 0.7308 GB, free: 33.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.072, allocations: 396.8 kB / 0.7312 GB, free: 32.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.073, allocations: 40 kB / 0.7313 GB, free: 32.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.076, allocations: 303.6 kB / 0.7315 GB, free: 32.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007996/1.077, allocations: 174 kB / 0.7317 GB, free: 32.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.077, allocations: 65.23 kB / 0.7318 GB, free: 32.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003627/1.081, allocations: 2.713 MB / 0.7344 GB, free: 29.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.081, allocations: 0 / 0.7344 GB, free: 29.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009398/1.09, allocations: 1.606 MB / 0.736 GB, free: 27.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (178): * Single equations (assignments): 174 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.091, allocations: 237.8 kB / 0.7362 GB, free: 27.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01913/1.11, allocations: 8.351 MB / 0.7444 GB, free: 19.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.11, allocations: 0 / 0.7444 GB, free: 19.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007513/1.118, allocations: 3.096 MB / 0.7474 GB, free: 16.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007032/1.125, allocations: 0.5022 MB / 0.7479 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03688/1.162, allocations: 13.49 MB / 0.7611 GB, free: 2.223 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006451/1.168, allocations: 3.584 MB / 0.7646 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005829/1.174, allocations: 2.144 MB / 0.7667 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.175, allocations: 277.8 kB / 0.7669 GB, free: 12.21 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/1.175, allocations: 0 / 0.7669 GB, free: 12.21 MB / 474.7 MB Notification: Performance of Templates: time 0.261/1.436, allocations: 63.11 MB / 0.8286 GB, free: 113.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.163549577933736]