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.001243/0.001243, allocations: 117.8 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001904, allocations: 200.6 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4273, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0135/0.4408, allocations: 11.95 MB / 0.5427 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009213/0.4501, allocations: 4.385 MB / 0.5469 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.4525, allocations: 70.53 kB / 0.547 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005448/0.458, allocations: 2.758 MB / 0.5497 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006886/0.465, allocations: 1.996 MB / 0.5517 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.468, allocations: 1.006 MB / 0.5526 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008959/0.477, allocations: 5.369 MB / 0.5579 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006831/0.4839, allocations: 3.436 MB / 0.5612 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.488, allocations: 1.748 MB / 0.5629 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004224/0.4922, allocations: 2.438 MB / 0.5653 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00168/0.4939, allocations: 368 kB / 0.5657 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.4978, allocations: 1.4 MB / 0.567 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003369/0.5012, allocations: 2.201 MB / 0.5692 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005088/0.5063, allocations: 2.478 MB / 0.5716 GB, free: 8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.5166, allocations: 8.006 MB / 0.5794 GB, free: 15.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5167, allocations: 3.984 kB / 0.5794 GB, free: 15.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5167, allocations: 0 / 0.5794 GB, free: 15.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002524/0.5169, allocations: 0 / 0.5794 GB, free: 15.96 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.01434/0.5313, allocations: 5.73 MB / 0.585 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5313, allocations: 12.03 kB / 0.585 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.5484, allocations: 2.592 MB / 0.5876 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/0.5558, allocations: 3.147 MB / 0.5906 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.5561, allocations: 258.8 kB / 0.5909 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.5572, allocations: 359.7 kB / 0.5912 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.5791, allocations: 12.35 MB / 0.6033 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.5793, allocations: 55.45 kB / 0.6034 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.5798, allocations: 167.8 kB / 0.6035 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.5838, allocations: 2.377 MB / 0.6058 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.6048, allocations: 10.84 MB / 0.6164 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07267/0.6775, allocations: 48.59 MB / 0.6639 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.694, allocations: 6.053 MB / 0.6698 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004785/0.6988, allocations: 3.303 MB / 0.673 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02241/0.7212, allocations: 13.5 MB / 0.6862 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.7213, allocations: 59.88 kB / 0.6863 GB, free: 15.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.419e-06/0.7214, allocations: 0 / 0.6863 GB, free: 15.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.5273/1.249, allocations: 36.29 MB / 0.7217 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.249, allocations: 209.6 kB / 0.7219 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006907/1.256, allocations: 4.362 MB / 0.7262 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008313/1.257, allocations: 65.88 kB / 0.7262 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.259, allocations: 3.376 MB / 0.7295 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.261, allocations: 0.986 MB / 0.7305 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/1.263, allocations: 1.42 MB / 0.7319 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.612e-05/1.263, allocations: 307 kB / 0.7322 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/1.268, allocations: 3.287 MB / 0.7354 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005594/1.273, allocations: 7.206 MB / 0.7424 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.284, allocations: 11.23 MB / 0.7534 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.76e-05/1.284, allocations: 40 kB / 0.7534 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02454/1.309, allocations: 13.28 MB / 0.7664 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.309, allocations: 64 kB / 0.7664 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/1.309, allocations: 136 kB / 0.7666 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009796/1.319, allocations: 3.402 MB / 0.7699 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.325, allocations: 1.576 MB / 0.7714 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/1.348, allocations: 17.54 MB / 0.7886 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007382/1.355, allocations: 435.4 kB / 0.789 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.357, allocations: 412 kB / 0.7894 GB, free: 105.8 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.004639/1.362, allocations: 2.345 MB / 0.7917 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.363, allocations: 398.8 kB / 0.792 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.377, allocations: 8.01 MB / 0.7999 GB, free: 94.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-05/1.377, allocations: 31.98 kB / 0.7999 GB, free: 94.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/1.377, allocations: 12 kB / 0.7999 GB, free: 94.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/1.377, allocations: 7.969 kB / 0.7999 GB, free: 94.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.403, allocations: 15.37 MB / 0.8149 GB, free: 79.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.403, allocations: 0 / 0.8149 GB, free: 79.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.405, allocations: 387.4 kB / 0.8153 GB, free: 79.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008843/1.414, allocations: 3.165 MB / 0.8184 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006087/1.415, allocations: 44 kB / 0.8184 GB, free: 75.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.434, allocations: 15.82 MB / 0.8339 GB, free: 60.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.434, allocations: 0 / 0.8339 GB, free: 60.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.453, allocations: 12.14 MB / 0.8457 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.454, allocations: 456.1 kB / 0.8462 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/1.455, allocations: 36.47 kB / 0.8462 GB, free: 47.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.457, allocations: 195.7 kB / 0.8464 GB, free: 47.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/1.458, allocations: 158.2 kB / 0.8465 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.458, allocations: 64 kB / 0.8466 GB, free: 46.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003479/1.461, allocations: 2.725 MB / 0.8493 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.461, allocations: 7.938 kB / 0.8493 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006005/1.467, allocations: 1.35 MB / 0.8506 GB, free: 42.8 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.0006254/1.468, allocations: 175.8 kB / 0.8508 GB, free: 42.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.479, allocations: 8.208 MB / 0.8588 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.479, allocations: 1.125 kB / 0.8588 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004559/1.484, allocations: 3.324 MB / 0.862 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.487, allocations: 0.4974 MB / 0.8625 GB, free: 30.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/1.508, allocations: 11.85 MB / 0.8741 GB, free: 18.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/1.513, allocations: 3.666 MB / 0.8777 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004761/1.517, allocations: 2.188 MB / 0.8798 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.518, allocations: 279.4 kB / 0.8801 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of SimCode: time 2.715e-06/1.518, allocations: 0 / 0.8801 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.1061/1.625, allocations: 57.33 MB / 0.936 GB, free: 3.535 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