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.001862/0.001862, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002366/0.002366, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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.2366/0.2366, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002061/0.002061, allocations: 71.89 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1407, allocations: 66 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01645/0.1571, allocations: 13.3 MB / 0.5689 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1679, allocations: 4.88 MB / 0.5736 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.1698, allocations: 95.56 kB / 0.5737 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008277/0.1781, allocations: 4.011 MB / 0.5776 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.1848, allocations: 2.233 MB / 0.5798 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.1878, allocations: 1.174 MB / 0.581 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.1978, allocations: 5.828 MB / 0.5866 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006403/0.2042, allocations: 4.331 MB / 0.5909 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3165/0.5206, allocations: 2.198 MB / 0.593 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006002/0.5266, allocations: 3.187 MB / 0.5961 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.5286, allocations: 0.5001 MB / 0.5966 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.5325, allocations: 1.686 MB / 0.5983 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.5362, allocations: 2.708 MB / 0.6009 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004044/0.5403, allocations: 3.005 MB / 0.6039 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.5528, allocations: 9.92 MB / 0.6135 GB, free: 6.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5528, allocations: 1.219 kB / 0.6135 GB, free: 6.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5528, allocations: 0 / 0.6135 GB, free: 6.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002873/0.5531, allocations: 0.5 kB / 0.6135 GB, free: 6.195 MB / 446.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.01882/0.5719, allocations: 6.66 MB / 0.62 GB, free: 2.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5719, allocations: 13.28 kB / 0.6201 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/0.59, allocations: 2.753 MB / 0.6227 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.6023, allocations: 3.647 MB / 0.6263 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/0.6027, allocations: 354.2 kB / 0.6266 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/0.6057, allocations: 433.7 kB / 0.6271 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03365/0.6394, allocations: 13.86 MB / 0.6406 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.6396, allocations: 52.41 kB / 0.6406 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008728/0.6405, allocations: 205.2 kB / 0.6408 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004392/0.6449, allocations: 2.407 MB / 0.6432 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03142/0.6763, allocations: 11.76 MB / 0.6547 GB, free: 7.812 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.08678/0.7631, allocations: 51.61 MB / 0.7051 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/0.7773, allocations: 4.581 MB / 0.7096 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/0.782, allocations: 2.752 MB / 0.7122 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02659/0.8086, allocations: 12.95 MB / 0.7249 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.8086, allocations: 54.88 kB / 0.7249 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5.681e-06/0.8086, allocations: 0 / 0.7249 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.1728/0.9815, allocations: 43.5 MB / 0.7674 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.9817, allocations: 234.3 kB / 0.7676 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009926/0.9916, allocations: 4.783 MB / 0.7723 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008728/0.9925, allocations: 64.59 kB / 0.7724 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00413/0.9966, allocations: 3.982 MB / 0.7763 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/0.9985, allocations: 0.9798 MB / 0.7772 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/1.001, allocations: 1.522 MB / 0.7787 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.001, allocations: 309 kB / 0.779 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006138/1.008, allocations: 3.45 MB / 0.7824 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.018, allocations: 7.71 MB / 0.7899 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/1.036, allocations: 11.88 MB / 0.8015 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.036, allocations: 43.94 kB / 0.8015 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03912/1.076, allocations: 14.46 MB / 0.8157 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002772/1.076, allocations: 69.12 kB / 0.8157 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004113/1.076, allocations: 148 kB / 0.8159 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/1.091, allocations: 4.025 MB / 0.8198 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0062/1.097, allocations: 1.634 MB / 0.8214 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03414/1.131, allocations: 19.85 MB / 0.8408 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007245/1.138, allocations: 469.8 kB / 0.8412 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.14, allocations: 436 kB / 0.8417 GB, free: 3.137 MB / 0.6544 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.007524/1.148, allocations: 2.651 MB / 0.8442 GB, free: 484 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.149, allocations: 456.9 kB / 0.8447 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3234/1.472, allocations: 8.598 MB / 0.8531 GB, free: 231.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-05/1.472, allocations: 26.7 kB / 0.8531 GB, free: 231.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-05/1.472, allocations: 12.38 kB / 0.8531 GB, free: 231.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/1.472, allocations: 14.06 kB / 0.8531 GB, free: 231.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/1.51, allocations: 17.8 MB / 0.8705 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/1.51, allocations: 0 / 0.8705 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.512, allocations: 404.5 kB / 0.8709 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01225/1.524, allocations: 4.069 MB / 0.8749 GB, free: 224.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/1.525, allocations: 42 kB / 0.8749 GB, free: 224.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/1.547, allocations: 18.22 MB / 0.8927 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.547, allocations: 3.938 kB / 0.8927 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/1.569, allocations: 13.23 MB / 0.9056 GB, free: 199.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.571, allocations: 488.7 kB / 0.9061 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/1.571, allocations: 40 kB / 0.9061 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.574, allocations: 216.3 kB / 0.9063 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006002/1.574, allocations: 147.2 kB / 0.9065 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.574, allocations: 65.42 kB / 0.9065 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0042/1.579, allocations: 2.977 MB / 0.9094 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.579, allocations: 0 / 0.9094 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006865/1.586, allocations: 1.472 MB / 0.9109 GB, free: 194 MB / 0.6544 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.0007686/1.586, allocations: 224.4 kB / 0.9111 GB, free: 193.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.597, allocations: 7.93 MB / 0.9188 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.597, allocations: 0 / 0.9188 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.601, allocations: 2.862 MB / 0.9216 GB, free: 183.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/1.605, allocations: 0.5244 MB / 0.9222 GB, free: 182.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.627, allocations: 13.04 MB / 0.9349 GB, free: 169.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004903/1.631, allocations: 4.096 MB / 0.9389 GB, free: 165.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004416/1.636, allocations: 2.19 MB / 0.941 GB, free: 163.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008933/1.637, allocations: 283.4 kB / 0.9413 GB, free: 162.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.653e-06/1.637, allocations: 0 / 0.9413 GB, free: 162.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.09145/1.728, allocations: 61.65 MB / 1.001 GB, free: 101.6 MB / 0.6544 GB " [Timeout remaining time 658] 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.574750676751137]