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.001195/0.001195, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01431/0.3558, allocations: 11.95 MB / 0.5433 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.3676, allocations: 4.378 MB / 0.5476 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.3701, allocations: 79.16 kB / 0.5477 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.376, allocations: 2.751 MB / 0.5504 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.3833, allocations: 1.996 MB / 0.5523 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.3862, allocations: 1.002 MB / 0.5533 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009086/0.3953, allocations: 5.365 MB / 0.5585 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0058/0.4011, allocations: 3.44 MB / 0.5619 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.4048, allocations: 1.748 MB / 0.5636 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004072/0.4089, allocations: 2.442 MB / 0.566 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.4104, allocations: 368 kB / 0.5663 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.4142, allocations: 1.397 MB / 0.5677 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.4174, allocations: 2.197 MB / 0.5698 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004721/0.4221, allocations: 2.478 MB / 0.5723 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4337, allocations: 8.01 MB / 0.5801 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4337, allocations: 4 kB / 0.5801 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4338, allocations: 0 / 0.5801 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003213/0.4341, allocations: 0 / 0.5801 GB, free: 15.93 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.01526/0.4494, allocations: 5.73 MB / 0.5857 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4494, allocations: 8.031 kB / 0.5857 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/0.4673, allocations: 2.596 MB / 0.5882 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/0.4746, allocations: 3.147 MB / 0.5913 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.4749, allocations: 262.8 kB / 0.5916 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.4764, allocations: 355.7 kB / 0.5919 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.5022, allocations: 12.36 MB / 0.604 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.5025, allocations: 55.52 kB / 0.604 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.5038, allocations: 167.8 kB / 0.6042 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00427/0.5081, allocations: 2.373 MB / 0.6065 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.5304, allocations: 10.84 MB / 0.6171 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06679/0.5972, allocations: 48.59 MB / 0.6645 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.6136, allocations: 6.056 MB / 0.6704 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004564/0.6182, allocations: 3.304 MB / 0.6737 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/0.6407, allocations: 13.5 MB / 0.6868 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/0.6409, allocations: 59.81 kB / 0.6869 GB, free: 15.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.109e-06/0.6409, allocations: 0 / 0.6869 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.3741/1.015, allocations: 36.31 MB / 0.7224 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.015, allocations: 206 kB / 0.7226 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/1.021, allocations: 4.363 MB / 0.7268 GB, free: 164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005404/1.022, allocations: 61.98 kB / 0.7269 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/1.024, allocations: 3.378 MB / 0.7302 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009063/1.024, allocations: 0.9866 MB / 0.7311 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/1.026, allocations: 1.418 MB / 0.7325 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.026, allocations: 304.6 kB / 0.7328 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/1.03, allocations: 3.288 MB / 0.736 GB, free: 159 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/1.035, allocations: 7.206 MB / 0.7431 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/1.045, allocations: 11.24 MB / 0.754 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.962e-05/1.045, allocations: 40 kB / 0.7541 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0208/1.066, allocations: 13.27 MB / 0.767 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/1.066, allocations: 64.19 kB / 0.7671 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.066, allocations: 140 kB / 0.7672 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008701/1.074, allocations: 3.394 MB / 0.7705 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/1.08, allocations: 1.579 MB / 0.7721 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.101, allocations: 17.54 MB / 0.7892 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/1.107, allocations: 427.4 kB / 0.7896 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.108, allocations: 412 kB / 0.79 GB, free: 105.7 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.004264/1.113, allocations: 2.354 MB / 0.7923 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.114, allocations: 398.8 kB / 0.7927 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/1.129, allocations: 8.002 MB / 0.8005 GB, free: 94.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/1.129, allocations: 32 kB / 0.8005 GB, free: 94.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/1.129, allocations: 12 kB / 0.8006 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/1.129, allocations: 11.95 kB / 0.8006 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.154, allocations: 15.38 MB / 0.8156 GB, free: 79.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-05/1.154, allocations: 0 / 0.8156 GB, free: 79.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.157, allocations: 391.4 kB / 0.816 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008516/1.165, allocations: 3.165 MB / 0.819 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/1.166, allocations: 44.5 kB / 0.8191 GB, free: 75.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/1.185, allocations: 15.82 MB / 0.8345 GB, free: 59.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.185, allocations: 0 / 0.8345 GB, free: 59.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/1.204, allocations: 12.14 MB / 0.8464 GB, free: 47.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.205, allocations: 447.8 kB / 0.8468 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.207, allocations: 44.47 kB / 0.8469 GB, free: 47.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.209, allocations: 195.7 kB / 0.8471 GB, free: 47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000698/1.21, allocations: 150.2 kB / 0.8472 GB, free: 46.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/1.21, allocations: 67.98 kB / 0.8473 GB, free: 46.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00419/1.215, allocations: 2.729 MB / 0.8499 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.215, allocations: 3.938 kB / 0.8499 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005865/1.22, allocations: 1.35 MB / 0.8512 GB, free: 42.71 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.0006226/1.221, allocations: 180.2 kB / 0.8514 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.233, allocations: 8.208 MB / 0.8594 GB, free: 34.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.233, allocations: 4 kB / 0.8594 GB, free: 34.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00463/1.237, allocations: 3.318 MB / 0.8627 GB, free: 31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.241, allocations: 0.4987 MB / 0.8632 GB, free: 30.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.262, allocations: 12.34 MB / 0.8752 GB, free: 18.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/1.267, allocations: 3.65 MB / 0.8788 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.269, allocations: 331.4 kB / 0.8791 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/1.269, allocations: 0 / 0.8791 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.4241/1.693, allocations: 92.86 MB / 0.9698 GB, free: 206.7 MB / 0.6231 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