Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.001467/0.001467, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001604/0.001604, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 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.518/1.518, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3846/0.3846, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.346e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01682/0.01685, allocations: 11.59 MB / 388.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.03046, allocations: 4.634 MB / 393.4 MB, free: 2.613 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.03391, allocations: 99.56 kB / 393.5 MB, free: 2.516 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009495/0.0434, allocations: 4.139 MB / 397.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007683/0.05109, allocations: 2.321 MB / 400 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.05452, allocations: 1.302 MB / 401.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.0649, allocations: 6.552 MB / 407.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008131/0.07303, allocations: 4.67 MB / 412.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008128/0.08116, allocations: 3.306 MB / 415.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00655/0.08771, allocations: 3.219 MB / 419 MB, free: 8.883 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.08955, allocations: 0.5156 MB / 419.6 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.09393, allocations: 1.599 MB / 421.2 MB, free: 6.766 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004326/0.09825, allocations: 2.832 MB / 424 MB, free: 3.926 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004116/0.1024, allocations: 1.792 MB / 425.8 MB, free: 2.129 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.118, allocations: 10.12 MB / 435.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.118, allocations: 0 / 435.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.118, allocations: 0 / 435.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.1183, allocations: 3.938 kB / 435.9 MB, free: 7.973 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.01651/0.1348, allocations: 6.644 MB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1349, allocations: 16.03 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.218/0.3529, allocations: 3.411 MB / 446 MB, free: 97.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007715/0.3606, allocations: 3.584 MB / 449.6 MB, free: 96.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.3609, allocations: 371.4 kB / 449.9 MB, free: 96.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.3622, allocations: 433.3 kB / 450.4 MB, free: 96.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.3839, allocations: 14.04 MB / 464.4 MB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.3841, allocations: 57.34 kB / 464.4 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006271/0.3847, allocations: 201.6 kB / 464.6 MB, free: 89.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003032/0.3877, allocations: 2.412 MB / 467.1 MB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.4112, allocations: 11.82 MB / 478.9 MB, free: 85.67 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.05831/0.4695, allocations: 48.49 MB / 0.515 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.4812, allocations: 4.289 MB / 0.5192 GB, free: 37.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/0.4847, allocations: 2.811 MB / 0.5219 GB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01746/0.5022, allocations: 10.48 MB / 0.5322 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.5022, allocations: 63.81 kB / 0.5322 GB, free: 24.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 4.158e-06/0.5022, allocations: 0 / 0.5322 GB, free: 24.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1762/0.6785, allocations: 50.95 MB / 0.582 GB, free: 5.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.6787, allocations: 235.6 kB / 0.5822 GB, free: 5.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008518/0.6872, allocations: 4.624 MB / 0.5867 GB, free: 460 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007617/0.688, allocations: 69.73 kB / 0.5868 GB, free: 384 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004019/0.692, allocations: 3.965 MB / 0.5907 GB, free: 12.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001828/0.6938, allocations: 0.9729 MB / 0.5916 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/0.6969, allocations: 1.485 MB / 0.5931 GB, free: 9.898 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6971, allocations: 301.1 kB / 0.5934 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006782/0.7039, allocations: 3.657 MB / 0.5969 GB, free: 5.941 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1776/0.8815, allocations: 7.94 MB / 0.6047 GB, free: 124.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/0.8961, allocations: 12.27 MB / 0.6167 GB, free: 116.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001932/0.8963, allocations: 42.31 kB / 0.6167 GB, free: 116.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.03087/0.9271, allocations: 15.83 MB / 0.6322 GB, free: 111.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.9273, allocations: 66.06 kB / 0.6322 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003616/0.9277, allocations: 148.1 kB / 0.6324 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/0.9438, allocations: 5.403 MB / 0.6376 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005853/0.9497, allocations: 1.643 MB / 0.6392 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/0.9827, allocations: 21.41 MB / 0.6601 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/0.9932, allocations: 0.5334 MB / 0.6607 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/0.9953, allocations: 435.6 kB / 0.6611 GB, free: 101.8 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.007187/1.002, allocations: 2.657 MB / 0.6637 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/1.004, allocations: 481.2 kB / 0.6641 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02829/1.033, allocations: 9.697 MB / 0.6736 GB, free: 91.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/1.033, allocations: 30.19 kB / 0.6736 GB, free: 91.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.033, allocations: 12 kB / 0.6737 GB, free: 91.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.104e-05/1.033, allocations: 18.14 kB / 0.6737 GB, free: 91.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04009/1.073, allocations: 17.95 MB / 0.6912 GB, free: 73.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/1.073, allocations: 12.22 kB / 0.6912 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.075, allocations: 427.3 kB / 0.6916 GB, free: 73.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/1.09, allocations: 5.428 MB / 0.6969 GB, free: 67.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005498/1.091, allocations: 47.98 kB / 0.697 GB, free: 67.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/1.115, allocations: 19.85 MB / 0.7164 GB, free: 47.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.115, allocations: 4 kB / 0.7164 GB, free: 47.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/1.14, allocations: 14.77 MB / 0.7308 GB, free: 33.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.141, allocations: 396 kB / 0.7312 GB, free: 32.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.142, allocations: 40 kB / 0.7312 GB, free: 32.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/1.145, allocations: 295.5 kB / 0.7315 GB, free: 32.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009083/1.146, allocations: 174 kB / 0.7316 GB, free: 32.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004136/1.147, allocations: 67.98 kB / 0.7317 GB, free: 32.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004288/1.151, allocations: 2.713 MB / 0.7344 GB, free: 29.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.151, allocations: 0 / 0.7344 GB, free: 29.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007098/1.158, allocations: 1.604 MB / 0.7359 GB, free: 27.98 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.0008785/1.159, allocations: 237.9 kB / 0.7361 GB, free: 27.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01156/1.17, allocations: 8.347 MB / 0.7443 GB, free: 19.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.17, allocations: 0 / 0.7443 GB, free: 19.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/1.175, allocations: 3.105 MB / 0.7473 GB, free: 16.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.178, allocations: 0.492 MB / 0.7478 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.198, allocations: 13.49 MB / 0.761 GB, free: 2.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005475/1.203, allocations: 3.587 MB / 0.7645 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006298/1.209, allocations: 2.143 MB / 0.7666 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.211, allocations: 268.5 kB / 0.7668 GB, free: 12.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/1.211, allocations: 0 / 0.7668 GB, free: 12.24 MB / 474.7 MB Notification: Performance of Templates: time 0.2622/1.473, allocations: 63.12 MB / 0.8285 GB, free: 113.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.475267658941448]