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.001688/0.001688, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 83.81 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4503, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01673/0.4671, allocations: 11.94 MB / 0.5427 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.4814, allocations: 4.381 MB / 0.5469 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.485, allocations: 74.38 kB / 0.547 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006702/0.4918, allocations: 2.757 MB / 0.5497 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008091/0.5, allocations: 2.003 MB / 0.5517 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.5033, allocations: 1.002 MB / 0.5526 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009764/0.5131, allocations: 5.366 MB / 0.5579 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/0.5194, allocations: 3.443 MB / 0.5612 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/0.5237, allocations: 1.744 MB / 0.5629 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.5286, allocations: 2.438 MB / 0.5653 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001635/0.5303, allocations: 368 kB / 0.5657 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004187/0.5345, allocations: 1.396 MB / 0.567 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003676/0.5382, allocations: 2.178 MB / 0.5692 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005995/0.5442, allocations: 2.481 MB / 0.5716 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.559, allocations: 8.039 MB / 0.5794 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.5591, allocations: 0 / 0.5794 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5591, allocations: 4 kB / 0.5794 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004804/0.5596, allocations: 3.938 kB / 0.5795 GB, free: 15.95 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.01768/0.5773, allocations: 5.87 MB / 0.5852 GB, free: 9.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5774, allocations: 12.03 kB / 0.5852 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.5937, allocations: 2.626 MB / 0.5878 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008741/0.6025, allocations: 3.16 MB / 0.5908 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.6028, allocations: 258.8 kB / 0.5911 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.604, allocations: 351.9 kB / 0.5914 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/0.628, allocations: 12.35 MB / 0.6035 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.6282, allocations: 63.52 kB / 0.6036 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005168/0.6287, allocations: 163.8 kB / 0.6037 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004021/0.6328, allocations: 2.377 MB / 0.606 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.656, allocations: 10.84 MB / 0.6166 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06626/0.7223, allocations: 48.68 MB / 0.6641 GB, free: 6.867 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.7394, allocations: 6.04 MB / 0.67 GB, free: 0.6758 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004624/0.7441, allocations: 3.3 MB / 0.6733 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.7651, allocations: 13.52 MB / 0.6865 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.7652, allocations: 63.8 kB / 0.6865 GB, free: 15.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.29e-06/0.7652, allocations: 0 / 0.6865 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4371/1.202, allocations: 36.55 MB / 0.7222 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.202, allocations: 210.1 kB / 0.7224 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/1.209, allocations: 4.372 MB / 0.7267 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007403/1.21, allocations: 62.08 kB / 0.7268 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.212, allocations: 3.508 MB / 0.7302 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.213, allocations: 1.037 MB / 0.7312 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.215, allocations: 1.436 MB / 0.7326 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.215, allocations: 303.1 kB / 0.7329 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/1.219, allocations: 3.288 MB / 0.7361 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/1.224, allocations: 7.206 MB / 0.7431 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009432/1.233, allocations: 11.23 MB / 0.7541 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/1.233, allocations: 40 kB / 0.7541 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02134/1.255, allocations: 13.3 MB / 0.7671 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/1.255, allocations: 64.94 kB / 0.7672 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.255, allocations: 136 kB / 0.7673 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008785/1.264, allocations: 3.406 MB / 0.7706 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/1.269, allocations: 1.575 MB / 0.7722 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/1.289, allocations: 17.54 MB / 0.7893 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00651/1.296, allocations: 440.5 kB / 0.7897 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.297, allocations: 408 kB / 0.7901 GB, free: 105.5 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.003543/1.3, allocations: 2.353 MB / 0.7924 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009349/1.301, allocations: 421.2 kB / 0.7928 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.315, allocations: 7.998 MB / 0.8006 GB, free: 94.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.315, allocations: 28 kB / 0.8007 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.315, allocations: 12 kB / 0.8007 GB, free: 94.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.315, allocations: 15.95 kB / 0.8007 GB, free: 94.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/1.34, allocations: 15.39 MB / 0.8157 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/1.34, allocations: 0 / 0.8157 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.342, allocations: 387.4 kB / 0.8161 GB, free: 78.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008236/1.35, allocations: 3.169 MB / 0.8192 GB, free: 75.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/1.351, allocations: 44 kB / 0.8192 GB, free: 75.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.369, allocations: 15.83 MB / 0.8347 GB, free: 59.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.369, allocations: 0 / 0.8347 GB, free: 59.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/1.388, allocations: 12.16 MB / 0.8465 GB, free: 47.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.389, allocations: 470.2 kB / 0.847 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/1.39, allocations: 47.38 kB / 0.847 GB, free: 46.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.392, allocations: 191.7 kB / 0.8472 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005754/1.393, allocations: 157.9 kB / 0.8474 GB, free: 46.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.393, allocations: 67.98 kB / 0.8474 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003456/1.396, allocations: 2.733 MB / 0.8501 GB, free: 43.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.396, allocations: 0 / 0.8501 GB, free: 43.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006275/1.403, allocations: 1.344 MB / 0.8514 GB, free: 42.43 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.0005418/1.403, allocations: 178.8 kB / 0.8516 GB, free: 42.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.414, allocations: 8.221 MB / 0.8596 GB, free: 34.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.414, allocations: 0 / 0.8596 GB, free: 34.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005131/1.42, allocations: 3.321 MB / 0.8629 GB, free: 30.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.424, allocations: 0.5077 MB / 0.8634 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.443, allocations: 12.02 MB / 0.8751 GB, free: 18.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/1.447, allocations: 3.67 MB / 0.8787 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004561/1.451, allocations: 2.169 MB / 0.8808 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.452, allocations: 287.4 kB / 0.8811 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.452, allocations: 0 / 0.8811 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.1015/1.554, allocations: 56.95 MB / 0.9367 GB, free: 3.277 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