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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 186 kB / 21.49 MB, free: 0.8242 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.845/1.845, allocations: 207.6 MB / 232.1 MB, free: 3.207 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.4329/0.4329, allocations: 44.23 MB / 328.4 MB, free: 6.242 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 71.94 kB / 465.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.144, allocations: 61 MB / 0.5142 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0124/0.1564, allocations: 13.42 MB / 0.5273 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.1708, allocations: 4.896 MB / 0.5321 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00467/0.1755, allocations: 79.81 kB / 0.5322 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00931/0.1848, allocations: 4.042 MB / 0.5361 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.1932, allocations: 2.269 MB / 0.5383 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.1969, allocations: 1.181 MB / 0.5395 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.2074, allocations: 5.584 MB / 0.5449 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/0.2133, allocations: 3.753 MB / 0.5486 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/0.2183, allocations: 2.193 MB / 0.5507 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.2244, allocations: 3.198 MB / 0.5539 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.2263, allocations: 0.5 MB / 0.5543 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.2309, allocations: 1.693 MB / 0.556 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004651/0.2356, allocations: 2.746 MB / 0.5587 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006541/0.2421, allocations: 3.022 MB / 0.5616 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.2593, allocations: 9.993 MB / 0.5714 GB, free: 2.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.2593, allocations: 0 / 0.5714 GB, free: 2.406 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2593, allocations: 0 / 0.5714 GB, free: 2.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004565/0.2598, allocations: 0 / 0.5714 GB, free: 2.406 MB / 430.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.02192/0.2817, allocations: 6.704 MB / 0.5779 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2818, allocations: 15.84 kB / 0.578 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.2984, allocations: 2.743 MB / 0.5806 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009959/0.3084, allocations: 3.804 MB / 0.5843 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.3089, allocations: 354.1 kB / 0.5847 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.3115, allocations: 439.8 kB / 0.5851 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03388/0.3454, allocations: 13.84 MB / 0.5986 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.3456, allocations: 63.47 kB / 0.5987 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009952/0.3466, allocations: 195.8 kB / 0.5989 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004007/0.3506, allocations: 2.41 MB / 0.6012 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/0.3802, allocations: 11.76 MB / 0.6127 GB, free: 7.066 MB / 478.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.4589/0.8391, allocations: 51.62 MB / 0.6631 GB, free: 85.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.8519, allocations: 4.547 MB / 0.6676 GB, free: 84.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005767/0.8577, allocations: 2.757 MB / 0.6703 GB, free: 84.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/0.8758, allocations: 12.88 MB / 0.6828 GB, free: 77.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.8759, allocations: 54.88 kB / 0.6829 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 8.306e-06/0.8759, allocations: 0.5625 kB / 0.6829 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1401/1.016, allocations: 43.76 MB / 0.7256 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/1.016, allocations: 239.6 kB / 0.7259 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006793/1.023, allocations: 4.797 MB / 0.7305 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/1.024, allocations: 69.64 kB / 0.7306 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/1.026, allocations: 3.993 MB / 0.7345 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.027, allocations: 0.9783 MB / 0.7355 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002183/1.029, allocations: 1.52 MB / 0.7369 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.029, allocations: 301.1 kB / 0.7372 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/1.033, allocations: 3.446 MB / 0.7406 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/1.039, allocations: 7.701 MB / 0.7481 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.05, allocations: 11.87 MB / 0.7597 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-05/1.05, allocations: 44 kB / 0.7598 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03371/1.083, allocations: 14.45 MB / 0.7739 GB, free: 2.742 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.083, allocations: 74.53 kB / 0.7739 GB, free: 2.672 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002383/1.084, allocations: 152 kB / 0.7741 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/1.097, allocations: 4.023 MB / 0.778 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006607/1.103, allocations: 1.641 MB / 0.7796 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03122/1.135, allocations: 19.86 MB / 0.799 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/1.142, allocations: 459.4 kB / 0.7994 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.143, allocations: 436 kB / 0.7999 GB, free: 7.98 MB / 0.545 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 (884): * Single equations (assignments): 880 * 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.006306/1.149, allocations: 2.655 MB / 0.8025 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.151, allocations: 449 kB / 0.8029 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02073/1.171, allocations: 8.604 MB / 0.8113 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/1.172, allocations: 27.94 kB / 0.8113 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.199e-05/1.172, allocations: 12 kB / 0.8113 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/1.172, allocations: 19.95 kB / 0.8113 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04285/1.214, allocations: 17.8 MB / 0.8287 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/1.214, allocations: 0 / 0.8287 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/1.217, allocations: 407.4 kB / 0.8291 GB, free: 9.977 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/1.23, allocations: 4.08 MB / 0.8331 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/1.231, allocations: 36 kB / 0.8331 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/1.259, allocations: 18.21 MB / 0.8509 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.259, allocations: 0 / 0.8509 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/1.286, allocations: 13.2 MB / 0.8638 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/1.288, allocations: 0.9821 MB / 0.8648 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008739/1.289, allocations: 39.98 kB / 0.8648 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.292, allocations: 223.7 kB / 0.865 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/1.292, allocations: 150.2 kB / 0.8652 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.293, allocations: 63.98 kB / 0.8652 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005506/1.298, allocations: 2.997 MB / 0.8682 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.298, allocations: 0 / 0.8682 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007738/1.306, allocations: 1.492 MB / 0.8696 GB, free: 300 kB / 0.6075 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.0009284/1.307, allocations: 230.5 kB / 0.8698 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01419/1.321, allocations: 7.911 MB / 0.8776 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.321, allocations: 192 / 0.8776 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005782/1.327, allocations: 2.873 MB / 0.8804 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/1.333, allocations: 0.5209 MB / 0.8809 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3412/1.674, allocations: 13.19 MB / 0.8938 GB, free: 226.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/1.684, allocations: 4.098 MB / 0.8978 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005239/1.689, allocations: 2.196 MB / 0.8999 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000809/1.69, allocations: 287.2 kB / 0.9002 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.272e-06/1.69, allocations: 0 / 0.9002 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.09218/1.782, allocations: 64.14 MB / 0.9628 GB, free: 173.1 MB / 0.6231 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/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: 9.043640404939651]