Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.001372/0.001372, allocations: 114 kB / 19.12 MB, free: 4.027 MB / 14.72 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.001416/0.001416, allocations: 208.9 kB / 22.07 MB, free: 1.078 MB / 14.72 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.469/1.469, allocations: 227.4 MB / 252.3 MB, free: 112 kB / 190.1 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.2312/0.2312, allocations: 46.17 MB / 351.8 MB, free: 14.33 MB / 286.1 MB " [Timeout remaining time 180] 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 81.81 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1338, allocations: 62.44 MB / 0.5403 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01428/0.1481, allocations: 11.94 MB / 0.552 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009474/0.1577, allocations: 4.389 MB / 0.5563 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.1597, allocations: 75.75 kB / 0.5564 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005751/0.1655, allocations: 2.749 MB / 0.559 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.1713, allocations: 1.999 MB / 0.561 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.1737, allocations: 1.006 MB / 0.562 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008203/0.1819, allocations: 5.368 MB / 0.5672 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/0.1872, allocations: 3.436 MB / 0.5706 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.1908, allocations: 1.744 MB / 0.5723 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.195, allocations: 2.438 MB / 0.5747 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.1963, allocations: 371.9 kB / 0.575 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.1999, allocations: 1.397 MB / 0.5764 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.2027, allocations: 2.182 MB / 0.5785 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.2061, allocations: 2.478 MB / 0.5809 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2165, allocations: 8.042 MB / 0.5888 GB, free: 2.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2166, allocations: 4 kB / 0.5888 GB, free: 2.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2166, allocations: 0 / 0.5888 GB, free: 2.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002453/0.2169, allocations: 0 / 0.5888 GB, free: 2.445 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01474/0.2316, allocations: 5.869 MB / 0.5945 GB, free: 12.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.2317, allocations: 12.02 kB / 0.5945 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/0.2498, allocations: 2.622 MB / 0.5971 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007545/0.2573, allocations: 3.175 MB / 0.6002 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.2577, allocations: 250.8 kB / 0.6004 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.259, allocations: 347.5 kB / 0.6008 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3067/0.5658, allocations: 12.36 MB / 0.6128 GB, free: 52.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.566, allocations: 52.45 kB / 0.6129 GB, free: 52.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/0.5665, allocations: 160.5 kB / 0.613 GB, free: 52.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004361/0.5709, allocations: 2.381 MB / 0.6154 GB, free: 52.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0245/0.5954, allocations: 10.85 MB / 0.626 GB, free: 48.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04682/0.6423, allocations: 48.68 MB / 0.6735 GB, free: 5.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.6562, allocations: 6.039 MB / 0.6794 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/0.6613, allocations: 3.297 MB / 0.6826 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/0.6816, allocations: 13.53 MB / 0.6958 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.6817, allocations: 59.88 kB / 0.6959 GB, free: 14.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 6.041e-06/0.6817, allocations: 3.938 kB / 0.6959 GB, free: 14.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1157/0.7974, allocations: 36.55 MB / 0.7316 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.7976, allocations: 205.9 kB / 0.7318 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008492/0.8061, allocations: 4.373 MB / 0.736 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007645/0.8069, allocations: 69.64 kB / 0.7361 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003337/0.8103, allocations: 3.504 MB / 0.7395 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/0.8121, allocations: 1.027 MB / 0.7405 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004133/0.8162, allocations: 1.437 MB / 0.7419 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8164, allocations: 305.1 kB / 0.7422 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005901/0.8223, allocations: 3.285 MB / 0.7454 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/0.8325, allocations: 7.2 MB / 0.7525 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/0.8497, allocations: 11.24 MB / 0.7634 GB, free: 5.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/0.8499, allocations: 36 kB / 0.7635 GB, free: 5.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03184/0.8817, allocations: 13.3 MB / 0.7765 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.882, allocations: 66.72 kB / 0.7765 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002971/0.8823, allocations: 140 kB / 0.7767 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.8937, allocations: 3.406 MB / 0.78 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005978/0.8997, allocations: 1.575 MB / 0.7815 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02909/0.9288, allocations: 17.57 MB / 0.7987 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006116/0.935, allocations: 435.5 kB / 0.7991 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/0.9368, allocations: 412 kB / 0.7995 GB, free: 152 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0057/0.9425, allocations: 2.345 MB / 0.8018 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/0.9439, allocations: 425.2 kB / 0.8022 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/0.9631, allocations: 8.002 MB / 0.81 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-05/0.9633, allocations: 31.98 kB / 0.81 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/0.9633, allocations: 8 kB / 0.81 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/0.9634, allocations: 15.95 kB / 0.81 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03686/1, allocations: 15.38 MB / 0.8251 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/1, allocations: 0 / 0.8251 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/1.002, allocations: 387.4 kB / 0.8254 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/1.013, allocations: 3.165 MB / 0.8285 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006532/1.013, allocations: 44 kB / 0.8286 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02527/1.038, allocations: 15.81 MB / 0.844 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.039, allocations: 0 / 0.844 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3549/1.393, allocations: 12.17 MB / 0.8559 GB, free: 208.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.395, allocations: 470.7 kB / 0.8563 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.396, allocations: 42.19 kB / 0.8564 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/1.399, allocations: 189 kB / 0.8566 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009421/1.4, allocations: 159.5 kB / 0.8567 GB, free: 208.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004911/1.401, allocations: 68.09 kB / 0.8568 GB, free: 208.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006383/1.407, allocations: 2.732 MB / 0.8594 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.71e-07/1.407, allocations: 1.219 kB / 0.8594 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008338/1.416, allocations: 1.348 MB / 0.8608 GB, free: 207.6 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/1.417, allocations: 175.8 kB / 0.8609 GB, free: 207.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01436/1.431, allocations: 8.218 MB / 0.869 GB, free: 204.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.431, allocations: 0 / 0.869 GB, free: 204.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.436, allocations: 3.326 MB / 0.8722 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.441, allocations: 0.4948 MB / 0.8727 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/1.463, allocations: 12.49 MB / 0.8849 GB, free: 197.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006327/1.47, allocations: 3.658 MB / 0.8885 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/1.472, allocations: 325.2 kB / 0.8888 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.727e-06/1.472, allocations: 3.969 kB / 0.8888 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.1026/1.574, allocations: 92.86 MB / 0.9795 GB, free: 106.1 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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: 15.563912446959876]