Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.2 MB / 204.9 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 34.28 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 443.2 MB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 66 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009433/0.3536, allocations: 10.46 MB / 0.5074 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007378/0.3609, allocations: 4.177 MB / 0.5115 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.363, allocations: 92.59 kB / 0.5116 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.3683, allocations: 2.685 MB / 0.5142 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006677/0.375, allocations: 2.074 MB / 0.5163 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.3775, allocations: 1.007 MB / 0.5172 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009183/0.3867, allocations: 5.37 MB / 0.5225 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/0.3913, allocations: 2.871 MB / 0.5253 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.3955, allocations: 1.784 MB / 0.527 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/0.4006, allocations: 2.504 MB / 0.5295 GB, free: 13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.402, allocations: 367.7 kB / 0.5298 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4053, allocations: 1.3 MB / 0.5311 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.4081, allocations: 2.238 MB / 0.5333 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.4109, allocations: 1.843 MB / 0.5351 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00957/0.4205, allocations: 8.074 MB / 0.543 GB, free: 5.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4205, allocations: 0 / 0.543 GB, free: 5.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4205, allocations: 1.094 kB / 0.543 GB, free: 5.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.4208, allocations: 0 / 0.543 GB, free: 5.121 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.01669/0.4375, allocations: 5.796 MB / 0.5486 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4375, allocations: 12.03 kB / 0.5486 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.4559, allocations: 2.747 MB / 0.5513 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.4663, allocations: 3.099 MB / 0.5543 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.4666, allocations: 258.8 kB / 0.5546 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.4684, allocations: 347.9 kB / 0.5549 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0261/0.4945, allocations: 12.48 MB / 0.5671 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.4946, allocations: 55.59 kB / 0.5672 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/0.4951, allocations: 163.8 kB / 0.5673 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/0.4994, allocations: 2.377 MB / 0.5696 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.5247, allocations: 10.84 MB / 0.5802 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07715/0.6018, allocations: 45.49 MB / 0.6247 GB, free: 0.9453 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.6187, allocations: 5.531 MB / 0.6301 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/0.6236, allocations: 3.016 MB / 0.633 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02446/0.648, allocations: 11.75 MB / 0.6445 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.6481, allocations: 55.88 kB / 0.6445 GB, free: 12.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 7.174e-06/0.6481, allocations: 0 / 0.6445 GB, free: 12.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.1257/0.7738, allocations: 37.08 MB / 0.6807 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.774, allocations: 209.9 kB / 0.6809 GB, free: 7.098 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00689/0.7809, allocations: 4.044 MB / 0.6849 GB, free: 3.062 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008691/0.7818, allocations: 77.64 kB / 0.685 GB, free: 2.98 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.2666/1.048, allocations: 3.536 MB / 0.6884 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.05, allocations: 1.025 MB / 0.6894 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003646/1.054, allocations: 1.432 MB / 0.6908 GB, free: 153.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/1.054, allocations: 302.2 kB / 0.6911 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/1.06, allocations: 3.288 MB / 0.6943 GB, free: 152.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006525/1.067, allocations: 7.256 MB / 0.7014 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.079, allocations: 11.24 MB / 0.7124 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/1.079, allocations: 38.66 kB / 0.7124 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03088/1.11, allocations: 13.21 MB / 0.7253 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003203/1.11, allocations: 63.62 kB / 0.7254 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/1.111, allocations: 142.7 kB / 0.7255 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/1.122, allocations: 3.394 MB / 0.7288 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/1.129, allocations: 1.576 MB / 0.7304 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/1.153, allocations: 16.9 MB / 0.7469 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.159, allocations: 455.2 kB / 0.7473 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/1.161, allocations: 415.2 kB / 0.7477 GB, free: 123.1 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.005183/1.166, allocations: 2.338 MB / 0.75 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.167, allocations: 381.5 kB / 0.7503 GB, free: 120.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.183, allocations: 7.932 MB / 0.7581 GB, free: 114.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/1.183, allocations: 28 kB / 0.7581 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.833e-05/1.183, allocations: 12 kB / 0.7581 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-05/1.183, allocations: 11.95 kB / 0.7581 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02976/1.213, allocations: 13.87 MB / 0.7717 GB, free: 100.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.213, allocations: 3.984 kB / 0.7717 GB, free: 100.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.215, allocations: 390.8 kB / 0.7721 GB, free: 100.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009533/1.225, allocations: 3.163 MB / 0.7751 GB, free: 97.15 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006969/1.225, allocations: 47.28 kB / 0.7752 GB, free: 97.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.246, allocations: 15.5 MB / 0.7903 GB, free: 81.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.246, allocations: 4 kB / 0.7903 GB, free: 81.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.268, allocations: 12.08 MB / 0.8021 GB, free: 69.35 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.269, allocations: 337.3 kB / 0.8025 GB, free: 69.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.271, allocations: 44 kB / 0.8025 GB, free: 68.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.274, allocations: 191.7 kB / 0.8027 GB, free: 68.79 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.275, allocations: 166.1 kB / 0.8028 GB, free: 68.62 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00048/1.276, allocations: 71.98 kB / 0.8029 GB, free: 68.55 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004707/1.28, allocations: 2.345 MB / 0.8052 GB, free: 66.22 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.01e-07/1.28, allocations: 3 kB / 0.8052 GB, free: 66.22 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0102/1.291, allocations: 1.332 MB / 0.8065 GB, free: 64.89 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.001124/1.292, allocations: 183.5 kB / 0.8067 GB, free: 64.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.306, allocations: 7.689 MB / 0.8142 GB, free: 57.02 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.306, allocations: 5.062 kB / 0.8142 GB, free: 57.02 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005773/1.312, allocations: 3.059 MB / 0.8172 GB, free: 53.95 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.316, allocations: 448.9 kB / 0.8176 GB, free: 53.52 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.345, allocations: 12.06 MB / 0.8294 GB, free: 41.43 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007155/1.352, allocations: 3.138 MB / 0.8324 GB, free: 38.26 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006126/1.358, allocations: 2.127 MB / 0.8345 GB, free: 36.12 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.36, allocations: 272.4 kB / 0.8348 GB, free: 35.86 MB / 0.5763 GB Notification: Performance of SimCode: time 2.254e-06/1.36, allocations: 0 / 0.8348 GB, free: 35.86 MB / 0.5763 GB Notification: Performance of Templates: time 0.1004/1.46, allocations: 53.95 MB / 0.8875 GB, free: 14.39 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.154346240102313]