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.0009138/0.0009143, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2568/0.3704, allocations: 41.94 MB / 0.5134 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.3925, allocations: 9.474 MB / 0.5226 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008669/0.4012, allocations: 187.3 kB / 0.5228 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.4032, allocations: 468.6 kB / 0.5232 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.4096, allocations: 1.892 MB / 0.5251 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.4123, allocations: 0.922 MB / 0.526 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4224, allocations: 7.503 MB / 0.5333 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/0.4289, allocations: 4.492 MB / 0.5377 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.4318, allocations: 1.344 MB / 0.539 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.4351, allocations: 2.353 MB / 0.5413 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009349/0.436, allocations: 169 kB / 0.5415 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.4389, allocations: 1.297 MB / 0.5427 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002244/0.4411, allocations: 1.978 MB / 0.5447 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003708/0.4448, allocations: 2.26 MB / 0.5469 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00701/0.4519, allocations: 6.094 MB / 0.5528 GB, free: 8.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4519, allocations: 0 / 0.5528 GB, free: 8.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4519, allocations: 0 / 0.5528 GB, free: 8.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.4522, allocations: 0 / 0.5528 GB, free: 8.379 MB / 398.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.01107/0.4633, allocations: 4.769 MB / 0.5575 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.4633, allocations: 8.031 kB / 0.5575 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.4813, allocations: 2.657 MB / 0.5601 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/0.4889, allocations: 3.096 MB / 0.5631 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.4893, allocations: 258.3 kB / 0.5634 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.491, allocations: 347.9 kB / 0.5637 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.5141, allocations: 12.38 MB / 0.5758 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.5144, allocations: 59.44 kB / 0.5758 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008849/0.5153, allocations: 166.3 kB / 0.576 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004114/0.5194, allocations: 2.38 MB / 0.5783 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/0.5413, allocations: 10.87 MB / 0.5889 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06006/0.6014, allocations: 48.82 MB / 0.6366 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/0.617, allocations: 6.056 MB / 0.6425 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/0.6211, allocations: 3.298 MB / 0.6457 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/0.6399, allocations: 13.52 MB / 0.6589 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.64, allocations: 63.81 kB / 0.659 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.671e-06/0.64, allocations: 3.984 kB / 0.659 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1111/0.7511, allocations: 36.4 MB / 0.6946 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.7513, allocations: 209.9 kB / 0.6948 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007805/0.7591, allocations: 4.361 MB / 0.699 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005621/0.7597, allocations: 65.7 kB / 0.6991 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/0.7624, allocations: 3.38 MB / 0.7024 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/0.7639, allocations: 0.9805 MB / 0.7033 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.7654, allocations: 0.5955 MB / 0.7039 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7655, allocations: 301.1 kB / 0.7042 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005522/0.7711, allocations: 3.289 MB / 0.7074 GB, free: 7.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2428/1.014, allocations: 7.197 MB / 0.7144 GB, free: 189.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.03, allocations: 11.23 MB / 0.7254 GB, free: 182.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/1.03, allocations: 42.53 kB / 0.7255 GB, free: 182.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02967/1.06, allocations: 13.27 MB / 0.7384 GB, free: 177.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.06, allocations: 62.06 kB / 0.7385 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.06, allocations: 142.8 kB / 0.7386 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009746/1.07, allocations: 3.411 MB / 0.7419 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/1.075, allocations: 1.578 MB / 0.7435 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/1.096, allocations: 16.41 MB / 0.7595 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.102, allocations: 436 kB / 0.7599 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.103, allocations: 414.5 kB / 0.7603 GB, free: 167.5 MB / 0.545 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.005034/1.108, allocations: 2.345 MB / 0.7626 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.109, allocations: 403.8 kB / 0.763 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/1.124, allocations: 8.006 MB / 0.7708 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/1.124, allocations: 28 kB / 0.7708 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/1.124, allocations: 15.28 kB / 0.7708 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.124, allocations: 15.89 kB / 0.7709 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.15, allocations: 15.53 MB / 0.786 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.15, allocations: 4 kB / 0.786 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.152, allocations: 387.5 kB / 0.7864 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008751/1.16, allocations: 3.169 MB / 0.7895 GB, free: 138 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004038/1.161, allocations: 45.17 kB / 0.7895 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/1.179, allocations: 14.68 MB / 0.8039 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.179, allocations: 4.812 kB / 0.8039 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.198, allocations: 12.14 MB / 0.8157 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.199, allocations: 455.8 kB / 0.8162 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.2, allocations: 44.94 kB / 0.8162 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.203, allocations: 187.7 kB / 0.8164 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007103/1.204, allocations: 162.1 kB / 0.8165 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/1.204, allocations: 65.17 kB / 0.8166 GB, free: 110.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004533/1.209, allocations: 2.729 MB / 0.8193 GB, free: 107.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.209, allocations: 3.5 kB / 0.8193 GB, free: 107.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006316/1.215, allocations: 1.346 MB / 0.8206 GB, free: 106 MB / 0.545 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.0007113/1.216, allocations: 180.8 kB / 0.8208 GB, free: 105.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.228, allocations: 8.182 MB / 0.8288 GB, free: 97.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.228, allocations: 0 / 0.8288 GB, free: 97.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/1.233, allocations: 3.304 MB / 0.832 GB, free: 94.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/1.239, allocations: 490.6 kB / 0.8324 GB, free: 93.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.264, allocations: 14.82 MB / 0.8469 GB, free: 79.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.269, allocations: 3.658 MB / 0.8505 GB, free: 75.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.27, allocations: 331.4 kB / 0.8508 GB, free: 75 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.27, allocations: 4 kB / 0.8508 GB, free: 75 MB / 0.545 GB Notification: Performance of Templates: time 0.351/1.621, allocations: 91.19 MB / 0.9399 GB, free: 172.6 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches