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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4604, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01469/0.4751, allocations: 11.95 MB / 0.5427 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.4887, allocations: 4.386 MB / 0.5469 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.4925, allocations: 74.84 kB / 0.547 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006478/0.499, allocations: 2.747 MB / 0.5497 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.5064, allocations: 2.062 MB / 0.5517 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.5095, allocations: 1.002 MB / 0.5527 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009035/0.5185, allocations: 5.368 MB / 0.5579 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005808/0.5244, allocations: 3.442 MB / 0.5613 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.5285, allocations: 1.752 MB / 0.563 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/0.5329, allocations: 2.442 MB / 0.5654 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.5346, allocations: 368 kB / 0.5657 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.5385, allocations: 1.393 MB / 0.5671 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003471/0.542, allocations: 2.205 MB / 0.5693 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.5475, allocations: 2.474 MB / 0.5717 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.5613, allocations: 8.008 MB / 0.5795 GB, free: 28 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5614, allocations: 4 kB / 0.5795 GB, free: 24 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5614, allocations: 0 / 0.5795 GB, free: 24 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004084/0.5618, allocations: 0 / 0.5795 GB, free: 24 kB / 430.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.01825/0.5801, allocations: 5.726 MB / 0.5851 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.5801, allocations: 8.031 kB / 0.5851 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01769/0.5978, allocations: 2.599 MB / 0.5876 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009311/0.6072, allocations: 3.151 MB / 0.5907 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004045/0.6076, allocations: 254.8 kB / 0.591 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.6096, allocations: 355.8 kB / 0.5913 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/0.6405, allocations: 12.36 MB / 0.6034 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003567/0.6409, allocations: 55.52 kB / 0.6034 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.643, allocations: 163.8 kB / 0.6036 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004565/0.6476, allocations: 2.381 MB / 0.6059 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.6719, allocations: 10.84 MB / 0.6165 GB, free: 9.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07357/0.7456, allocations: 48.59 MB / 0.6639 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/0.7624, allocations: 6.049 MB / 0.6698 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005172/0.7676, allocations: 3.304 MB / 0.6731 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02644/0.7941, allocations: 13.5 MB / 0.6862 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.7942, allocations: 67.73 kB / 0.6863 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 7.414e-06/0.7942, allocations: 4 kB / 0.6863 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.5221/1.316, allocations: 36.3 MB / 0.7218 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.317, allocations: 209.4 kB / 0.722 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008087/1.325, allocations: 4.356 MB / 0.7262 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008821/1.326, allocations: 63.05 kB / 0.7263 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.328, allocations: 3.381 MB / 0.7296 GB, free: 162 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.329, allocations: 0.9874 MB / 0.7305 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.331, allocations: 1.422 MB / 0.7319 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/1.331, allocations: 301.1 kB / 0.7322 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/1.336, allocations: 3.287 MB / 0.7354 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/1.341, allocations: 7.207 MB / 0.7425 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.352, allocations: 11.23 MB / 0.7534 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.352, allocations: 40 kB / 0.7535 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02387/1.376, allocations: 13.27 MB / 0.7664 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/1.376, allocations: 64.19 kB / 0.7665 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.376, allocations: 140 kB / 0.7666 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008863/1.385, allocations: 3.406 MB / 0.7699 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005041/1.39, allocations: 1.571 MB / 0.7715 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.41, allocations: 17.53 MB / 0.7886 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/1.417, allocations: 435.2 kB / 0.789 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.418, allocations: 412.8 kB / 0.7894 GB, free: 105.9 MB / 0.5606 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.00377/1.422, allocations: 2.347 MB / 0.7917 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008684/1.422, allocations: 402.8 kB / 0.7921 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.436, allocations: 8.002 MB / 0.7999 GB, free: 95.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/1.436, allocations: 28 kB / 0.7999 GB, free: 95.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.436, allocations: 12 kB / 0.7999 GB, free: 95.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.235e-05/1.436, allocations: 11.95 kB / 0.8 GB, free: 95.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/1.461, allocations: 15.38 MB / 0.815 GB, free: 79.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.461, allocations: 0 / 0.815 GB, free: 79.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.463, allocations: 391.4 kB / 0.8154 GB, free: 79.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008345/1.471, allocations: 3.165 MB / 0.8184 GB, free: 76.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004941/1.472, allocations: 44 kB / 0.8185 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/1.49, allocations: 15.82 MB / 0.8339 GB, free: 60.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.49, allocations: 2.531 kB / 0.8339 GB, free: 60.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.508, allocations: 12.14 MB / 0.8458 GB, free: 47.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.509, allocations: 451.8 kB / 0.8462 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007588/1.51, allocations: 39.94 kB / 0.8463 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.512, allocations: 195.7 kB / 0.8464 GB, free: 47.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005824/1.513, allocations: 158.1 kB / 0.8466 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.513, allocations: 67.98 kB / 0.8467 GB, free: 47.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0033/1.516, allocations: 2.725 MB / 0.8493 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.516, allocations: 0 / 0.8493 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005688/1.522, allocations: 1.346 MB / 0.8506 GB, free: 42.93 MB / 0.5606 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.0005316/1.523, allocations: 181.1 kB / 0.8508 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.534, allocations: 8.211 MB / 0.8588 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.534, allocations: 4 kB / 0.8588 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004424/1.538, allocations: 3.319 MB / 0.8621 GB, free: 31.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.541, allocations: 0.5133 MB / 0.8626 GB, free: 30.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.558, allocations: 11.85 MB / 0.8741 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.561, allocations: 3.672 MB / 0.8777 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004918/1.566, allocations: 2.169 MB / 0.8799 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.567, allocations: 287.4 kB / 0.8801 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.053e-06/1.567, allocations: 0 / 0.8801 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.09538/1.662, allocations: 56.95 MB / 0.9357 GB, free: 3.977 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches