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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 83.88 kB / 443.2 MB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3767, allocations: 66.05 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.016/0.3928, allocations: 10.47 MB / 0.5075 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.406, allocations: 4.162 MB / 0.5116 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.4085, allocations: 87.88 kB / 0.5117 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008102/0.4166, allocations: 2.693 MB / 0.5143 GB, free: 19.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008339/0.4249, allocations: 2.066 MB / 0.5163 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.4287, allocations: 1.006 MB / 0.5173 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.4402, allocations: 5.367 MB / 0.5225 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005719/0.4459, allocations: 2.883 MB / 0.5253 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004811/0.4507, allocations: 1.774 MB / 0.5271 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006733/0.4575, allocations: 2.511 MB / 0.5295 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.4591, allocations: 367.1 kB / 0.5299 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.4635, allocations: 1.301 MB / 0.5311 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003685/0.4672, allocations: 2.239 MB / 0.5333 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003915/0.4711, allocations: 1.835 MB / 0.5351 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4837, allocations: 8.074 MB / 0.543 GB, free: 5.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4837, allocations: 0 / 0.543 GB, free: 5.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4837, allocations: 5.469 kB / 0.543 GB, free: 5.035 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002389/0.4839, allocations: 0 / 0.543 GB, free: 5.035 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.022/0.5059, allocations: 5.801 MB / 0.5487 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.506, allocations: 15.97 kB / 0.5487 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.5266, allocations: 2.736 MB / 0.5514 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008623/0.5352, allocations: 3.096 MB / 0.5544 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.5354, allocations: 258.8 kB / 0.5546 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/0.5367, allocations: 355.9 kB / 0.555 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/0.5611, allocations: 12.48 MB / 0.5672 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.5613, allocations: 51.58 kB / 0.5672 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.5618, allocations: 163.8 kB / 0.5674 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004397/0.5662, allocations: 2.377 MB / 0.5697 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/0.5898, allocations: 10.84 MB / 0.5803 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06433/0.6542, allocations: 45.5 MB / 0.6247 GB, free: 0.7852 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.6713, allocations: 5.531 MB / 0.6301 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/0.6763, allocations: 3.017 MB / 0.6331 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02116/0.6975, allocations: 11.75 MB / 0.6445 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.6975, allocations: 51.88 kB / 0.6446 GB, free: 12.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.952e-06/0.6975, allocations: 0 / 0.6446 GB, free: 12.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.1164/0.8139, allocations: 37.08 MB / 0.6808 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.814, allocations: 209.9 kB / 0.681 GB, free: 6.938 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006657/0.8207, allocations: 4.056 MB / 0.6849 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007906/0.8215, allocations: 65.7 kB / 0.685 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.3268/1.148, allocations: 3.532 MB / 0.6885 GB, free: 153.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/1.151, allocations: 1.032 MB / 0.6895 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002981/1.154, allocations: 1.431 MB / 0.6909 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/1.154, allocations: 302.6 kB / 0.6912 GB, free: 153.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005213/1.159, allocations: 3.289 MB / 0.6944 GB, free: 151.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.165, allocations: 7.256 MB / 0.7014 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.177, allocations: 11.24 MB / 0.7124 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/1.177, allocations: 38.78 kB / 0.7125 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03034/1.208, allocations: 13.21 MB / 0.7254 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002791/1.208, allocations: 70.58 kB / 0.7254 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004592/1.208, allocations: 140.1 kB / 0.7256 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.221, allocations: 3.397 MB / 0.7289 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006947/1.228, allocations: 1.58 MB / 0.7304 GB, free: 131.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/1.251, allocations: 16.89 MB / 0.7469 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.257, allocations: 459.5 kB / 0.7474 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.258, allocations: 410.4 kB / 0.7477 GB, free: 122.9 MB / 0.5763 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005078/1.264, allocations: 2.341 MB / 0.75 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008947/1.264, allocations: 381.5 kB / 0.7504 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.279, allocations: 7.93 MB / 0.7581 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/1.279, allocations: 28 kB / 0.7582 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/1.279, allocations: 9.859 kB / 0.7582 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-05/1.279, allocations: 15.95 kB / 0.7582 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.304, allocations: 13.87 MB / 0.7717 GB, free: 100.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.304, allocations: 4 kB / 0.7717 GB, free: 100.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.306, allocations: 387.4 kB / 0.7721 GB, free: 100.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008606/1.315, allocations: 3.163 MB / 0.7752 GB, free: 96.89 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004374/1.316, allocations: 44.69 kB / 0.7752 GB, free: 96.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.334, allocations: 15.51 MB / 0.7904 GB, free: 81.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.334, allocations: 128 / 0.7904 GB, free: 81.24 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.352, allocations: 12.08 MB / 0.8022 GB, free: 69.08 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.353, allocations: 337.4 kB / 0.8025 GB, free: 68.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.353, allocations: 44 kB / 0.8025 GB, free: 68.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.356, allocations: 198.9 kB / 0.8027 GB, free: 68.52 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/1.356, allocations: 166.1 kB / 0.8029 GB, free: 68.35 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/1.356, allocations: 71.92 kB / 0.803 GB, free: 68.28 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003216/1.36, allocations: 2.344 MB / 0.8053 GB, free: 65.96 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.36, allocations: 4 kB / 0.8053 GB, free: 65.95 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006071/1.366, allocations: 1.34 MB / 0.8066 GB, free: 64.61 MB / 0.5763 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.000528/1.366, allocations: 179.7 kB / 0.8067 GB, free: 64.43 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.377, allocations: 7.692 MB / 0.8142 GB, free: 56.75 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.377, allocations: 3.938 kB / 0.8143 GB, free: 56.74 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004327/1.381, allocations: 3.059 MB / 0.8172 GB, free: 53.67 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.384, allocations: 446.8 kB / 0.8177 GB, free: 53.24 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.401, allocations: 12.05 MB / 0.8294 GB, free: 41.16 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/1.404, allocations: 3.142 MB / 0.8325 GB, free: 37.98 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004171/1.408, allocations: 2.138 MB / 0.8346 GB, free: 35.84 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/1.409, allocations: 256.5 kB / 0.8348 GB, free: 35.59 MB / 0.5763 GB Notification: Performance of SimCode: time 8.62e-07/1.409, allocations: 0 / 0.8348 GB, free: 35.59 MB / 0.5763 GB Notification: Performance of Templates: time 0.08596/1.495, allocations: 53.96 MB / 0.8875 GB, free: 14.07 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.126532449037768]