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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00181/0.00181, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.228/0.228, allocations: 44.93 MB / 358.8 MB, free: 6.082 MB / 286.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: 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.00206/0.00206, allocations: 69.45 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3767, allocations: 65.47 MB / 0.5575 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01581/0.3926, allocations: 11.58 MB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.4052, allocations: 4.627 MB / 0.5733 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.4084, allocations: 95.56 kB / 0.5734 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00819/0.4166, allocations: 3.867 MB / 0.5772 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007103/0.4237, allocations: 2.241 MB / 0.5794 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.4269, allocations: 1.185 MB / 0.5805 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009273/0.4362, allocations: 5.825 MB / 0.5862 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00759/0.4438, allocations: 4.012 MB / 0.5901 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.4481, allocations: 2.208 MB / 0.5923 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.4537, allocations: 2.987 MB / 0.5952 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.4554, allocations: 0.5 MB / 0.5957 GB, free: 208 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003913/0.4593, allocations: 1.533 MB / 0.5972 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003794/0.4631, allocations: 2.715 MB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004757/0.4679, allocations: 2.241 MB / 0.602 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.4832, allocations: 9.966 MB / 0.6117 GB, free: 15.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4832, allocations: 0 / 0.6117 GB, free: 15.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4832, allocations: 4 kB / 0.6118 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004025/0.4836, allocations: 0 / 0.6118 GB, free: 15.68 MB / 462.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.01957/0.5032, allocations: 6.59 MB / 0.6182 GB, free: 9.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5032, allocations: 8.031 kB / 0.6182 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/0.5216, allocations: 2.739 MB / 0.6209 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.5329, allocations: 3.595 MB / 0.6244 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.5334, allocations: 375.9 kB / 0.6247 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.5356, allocations: 431.8 kB / 0.6252 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/0.5653, allocations: 13.96 MB / 0.6388 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.5655, allocations: 47.58 kB / 0.6388 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005849/0.5661, allocations: 203.8 kB / 0.639 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003863/0.5699, allocations: 2.41 MB / 0.6414 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/0.5958, allocations: 11.75 MB / 0.6528 GB, free: 4.547 MB / 494.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.07303/0.6688, allocations: 47.61 MB / 0.6993 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.6824, allocations: 4.12 MB / 0.7034 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/0.6871, allocations: 2.753 MB / 0.7061 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/0.7084, allocations: 10.16 MB / 0.716 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/0.7084, allocations: 59.81 kB / 0.716 GB, free: 2.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5.451e-06/0.7084, allocations: 0 / 0.716 GB, free: 2.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.4421/1.151, allocations: 43.29 MB / 0.7583 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.151, allocations: 239.6 kB / 0.7585 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/1.155, allocations: 4.499 MB / 0.7629 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/1.156, allocations: 61.7 kB / 0.763 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.157, allocations: 4.02 MB / 0.7669 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/1.158, allocations: 0.9756 MB / 0.7679 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.16, allocations: 1.515 MB / 0.7694 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/1.16, allocations: 301.1 kB / 0.7696 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.163, allocations: 3.438 MB / 0.773 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005043/1.168, allocations: 7.749 MB / 0.7806 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009959/1.178, allocations: 11.86 MB / 0.7921 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.151e-05/1.178, allocations: 48 kB / 0.7922 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02397/1.202, allocations: 14.39 MB / 0.8062 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/1.202, allocations: 68 kB / 0.8063 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/1.203, allocations: 148 kB / 0.8064 GB, free: 94.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/1.214, allocations: 4.016 MB / 0.8104 GB, free: 90.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.219, allocations: 1.63 MB / 0.812 GB, free: 89.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03732/1.257, allocations: 19.52 MB / 0.831 GB, free: 69.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009273/1.266, allocations: 459.4 kB / 0.8315 GB, free: 68.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/1.268, allocations: 432 kB / 0.8319 GB, free: 68.57 MB / 0.5606 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.008489/1.277, allocations: 2.657 MB / 0.8345 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002446/1.279, allocations: 409.3 kB / 0.8349 GB, free: 65.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.299, allocations: 8.566 MB / 0.8432 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/1.299, allocations: 28 kB / 0.8432 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-05/1.299, allocations: 16.44 kB / 0.8433 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-05/1.299, allocations: 11.95 kB / 0.8433 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03665/1.336, allocations: 16.16 MB / 0.8591 GB, free: 40.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/1.336, allocations: 0 / 0.8591 GB, free: 40.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.338, allocations: 403.4 kB / 0.8594 GB, free: 40.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/1.35, allocations: 4.07 MB / 0.8634 GB, free: 36.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006704/1.351, allocations: 47.92 kB / 0.8635 GB, free: 36.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/1.374, allocations: 17.9 MB / 0.8809 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.374, allocations: 0 / 0.8809 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/1.398, allocations: 13.17 MB / 0.8938 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.4, allocations: 373.1 kB / 0.8942 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/1.402, allocations: 40 kB / 0.8942 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/1.405, allocations: 219.7 kB / 0.8944 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009176/1.406, allocations: 164.6 kB / 0.8946 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/1.407, allocations: 67.42 kB / 0.8946 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004602/1.411, allocations: 2.605 MB / 0.8972 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.411, allocations: 0 / 0.8972 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007114/1.418, allocations: 1.461 MB / 0.8986 GB, free: 64 kB / 0.5606 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.0007558/1.419, allocations: 222.2 kB / 0.8988 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0155/1.435, allocations: 7.891 MB / 0.9065 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.435, allocations: 192 / 0.9065 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005472/1.44, allocations: 2.87 MB / 0.9093 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/1.444, allocations: 462.2 kB / 0.9098 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/1.474, allocations: 13.11 MB / 0.9226 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008861/1.482, allocations: 3.583 MB / 0.9261 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006375/1.489, allocations: 2.131 MB / 0.9281 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.49, allocations: 259.4 kB / 0.9284 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of SimCode: time 1.663e-06/1.49, allocations: 4 kB / 0.9284 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of Templates: time 0.4032/1.893, allocations: 63.18 MB / 0.9901 GB, free: 216.3 MB / 0.6387 GB " [Timeout remaining time 658] 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: 8.597892872989178]