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.0008181/0.0008182, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009287/0.0009287, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.151/1.151, allocations: 227.7 MB / 246.8 MB, free: 9.457 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.165/0.165, allocations: 46.18 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000203/0.0002031, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08366, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1889/0.2725, allocations: 41.95 MB / 0.5127 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2873, allocations: 9.475 MB / 0.522 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005553/0.2929, allocations: 187.2 kB / 0.5221 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.2938, allocations: 467.8 kB / 0.5226 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.2972, allocations: 1.89 MB / 0.5244 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.2988, allocations: 0.9319 MB / 0.5253 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006478/0.3053, allocations: 7.501 MB / 0.5327 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004246/0.3096, allocations: 4.485 MB / 0.537 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3108, allocations: 1.345 MB / 0.5384 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3128, allocations: 2.347 MB / 0.5407 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.3131, allocations: 168.4 kB / 0.5408 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.3147, allocations: 1.3 MB / 0.5421 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.3159, allocations: 1.98 MB / 0.544 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.3175, allocations: 2.252 MB / 0.5462 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.3233, allocations: 7.465 MB / 0.5535 GB, free: 7.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3233, allocations: 0 / 0.5535 GB, free: 7.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3233, allocations: 0 / 0.5535 GB, free: 7.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.087e-05/0.3233, allocations: 4 kB / 0.5535 GB, free: 7.008 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.007797/0.3311, allocations: 4.755 MB / 0.5582 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3312, allocations: 8.031 kB / 0.5582 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.3468, allocations: 2.665 MB / 0.5608 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.3515, allocations: 3.098 MB / 0.5638 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3517, allocations: 258.7 kB / 0.564 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005877/0.3523, allocations: 348.8 kB / 0.5644 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.3689, allocations: 12.38 MB / 0.5765 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.369, allocations: 59.44 kB / 0.5765 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.3694, allocations: 167.7 kB / 0.5767 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.3727, allocations: 2.379 MB / 0.579 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.3894, allocations: 10.86 MB / 0.5896 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04508/0.4345, allocations: 48.82 MB / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.4482, allocations: 6.058 MB / 0.6432 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/0.4516, allocations: 3.3 MB / 0.6464 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/0.4673, allocations: 13.52 MB / 0.6596 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4673, allocations: 55.81 kB / 0.6597 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 2.986e-06/0.4673, allocations: 0 / 0.6597 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.09098/0.5583, allocations: 36.41 MB / 0.6952 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.5584, allocations: 205.9 kB / 0.6954 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.5635, allocations: 4.357 MB / 0.6997 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.5637, allocations: 69.7 kB / 0.6998 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.5658, allocations: 3.374 MB / 0.703 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007606/0.5665, allocations: 0.9924 MB / 0.704 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006734/0.5672, allocations: 0.5939 MB / 0.7046 GB, free: 9.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.5673, allocations: 301.1 kB / 0.7049 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/0.5715, allocations: 3.285 MB / 0.7081 GB, free: 6.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1643/0.7359, allocations: 7.199 MB / 0.7151 GB, free: 189.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.7471, allocations: 11.23 MB / 0.7261 GB, free: 182.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.745e-05/0.7472, allocations: 39.47 kB / 0.7261 GB, free: 182.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02144/0.7687, allocations: 13.28 MB / 0.7391 GB, free: 178 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.7687, allocations: 63.31 kB / 0.7392 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.474e-05/0.7688, allocations: 134.4 kB / 0.7393 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008246/0.7771, allocations: 3.417 MB / 0.7426 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/0.7809, allocations: 1.577 MB / 0.7442 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.7989, allocations: 16.4 MB / 0.7602 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/0.8026, allocations: 432.3 kB / 0.7606 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.803, allocations: 412 kB / 0.761 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.002495/0.8055, allocations: 2.35 MB / 0.7633 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.8059, allocations: 398.5 kB / 0.7637 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.8188, allocations: 8.012 MB / 0.7715 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.8188, allocations: 25.09 kB / 0.7715 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.8189, allocations: 13.08 kB / 0.7715 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.8189, allocations: 22.45 kB / 0.7715 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/0.8388, allocations: 15.54 MB / 0.7867 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8388, allocations: 0 / 0.7867 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.8403, allocations: 379.5 kB / 0.7871 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007648/0.848, allocations: 3.177 MB / 0.7902 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.8482, allocations: 41.25 kB / 0.7902 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.864, allocations: 14.69 MB / 0.8046 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8641, allocations: 2.109 kB / 0.8046 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.8798, allocations: 12.13 MB / 0.8164 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/0.8803, allocations: 459.8 kB / 0.8168 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.8807, allocations: 40 kB / 0.8169 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.8824, allocations: 188.4 kB / 0.8171 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/0.8829, allocations: 162.1 kB / 0.8172 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.883, allocations: 68.92 kB / 0.8173 GB, free: 110.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002716/0.8857, allocations: 2.729 MB / 0.8199 GB, free: 107.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8858, allocations: 0 / 0.8199 GB, free: 107.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003904/0.8897, allocations: 1.347 MB / 0.8213 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.0003526/0.89, allocations: 179 kB / 0.8214 GB, free: 105.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008717/0.8987, allocations: 8.184 MB / 0.8294 GB, free: 97.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8988, allocations: 2.734 kB / 0.8294 GB, free: 97.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.9026, allocations: 3.309 MB / 0.8327 GB, free: 94.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.9049, allocations: 491 kB / 0.8331 GB, free: 93.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.9177, allocations: 14.37 MB / 0.8472 GB, free: 79.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/0.9205, allocations: 3.67 MB / 0.8507 GB, free: 75.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003938/0.9245, allocations: 2.179 MB / 0.8529 GB, free: 73.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/0.9252, allocations: 279.4 kB / 0.8531 GB, free: 73.28 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.9252, allocations: 0 / 0.8531 GB, free: 73.28 MB / 0.545 GB Notification: Performance of Templates: time 0.05845/0.9836, allocations: 56.88 MB / 0.9087 GB, free: 16.62 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/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